5 messages in ru.sysoev.nginxRe: multiple 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:Re: multiple fastcgi ?Actions...
From:Brice Figureau (bric@public.gmane.org)
Date:Jul 24, 2007 2:37:18 am
List:ru.sysoev.nginx

On Mon, 2007-07-23 at 23:04 +0400, Igor Sysoev wrote:

On Mon, Jul 23, 2007 at 06:17:22PM +0200, Brice Figureau wrote:

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.

[snip]

Is there any known workaround ?

As I know spawn-fcgi does not allow to spawn several processes. As workaround you may try to run several tracs on several ports adn use "upstream".

Yes that could work.

I found that Trac uses python's WSGI which is multithreaded by default, so in fact it spawns a thread per FastCGI request. In this specific case there is no need of a Fast CGI process manager ala mod_fastcgi.

The only FastCGI process manager I could find is the following Perl modules: http://search.cpan.org/~jurach/FCGI-ProcManager-0.17/ProcManager.pm Maybe it could be used to build a complete process manager.