5 messages in ru.sysoev.nginxmultiple fastcgi ?
FromSent OnAttachments
Brice FigureauJul 23, 2007 9:16 am 
webmasterJul 23, 2007 9:32 am 
Igor SysoevJul 23, 2007 12:03 pm 
Igor SysoevJul 23, 2007 12:07 pm 
Brice FigureauJul 24, 2007 2:37 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:multiple fastcgi ?Actions...
From:Brice Figureau (bric@public.gmane.org)
Date:Jul 23, 2007 9:16:59 am
List:ru.sysoev.nginx

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,