multiple fastcgi ?

webmaster admin at
Mon Jul 23 20:32:55 MSD 2007

There is an option for spawning more than 1 PHP process in spawn-fcgi:

check this:


use it in a config file, not command line.

-Liang (kingler)

Brice Figureau wrote:
> Hi,
> I'm sorry if my question is not stricly nginx related.
> I have to deploy a fastcgi based application (trac for that matters).
> I'd like to deploy it as a fastcgi directly under nginx instead of
> behind a proxyied upstream apache running mod_fastcgi.
> It seems that the nginx way to do that is to use lighttpd's spawn-fcgi,
> is that right ?
> The problem I see with this setup is that spawn-fcgi spawn's only one
> process, so  I don't see how several parallel requests to the cgi can be
> executed at the same time ?
> mod_fastcgi under apache seems to spawn several fastcgi process at
> server start certainly to overcome this issue. The PHP fastcgi handler
> also is doing that.
> Lighttpd can also do that apparently if it spawn's directly the
> processes (not using the spawn-fcgi program).
> Is there any known workaround ?
> Thanks for any input,

More information about the nginx mailing list