multiple fastcgi ?

Igor Sysoev is at
Mon Jul 23 23:08:04 MSD 2007

On Mon, Jul 23, 2007 at 09:32:55AM -0700, webmaster wrote:

> 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.

By the way, there are patches to enhance PHP controllability in FastCGI mode:

Site is partially in Russian, but author now lives in London,
so you may ask him to translate :)

> 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,
> >  

Igor Sysoev

More information about the nginx mailing list