Welcome! Log In Create A New Profile

Advanced

Re: Launch FastCGI process?

Phillip Oldham
October 21, 2009 03:44AM
Grzegorz Nosek wrote:
> Like fellow posters said, spawning processes by the web server is not
> a good idea (especially by a lean and mean server like Nginx). What
> we're using (or at least migrating to) is supervisord[1] for process
> management and a custom Nginx module for integration. We have Nginx
> communicate with supervisord over XMLRPC to start/shutdown processes as
> directed by the load balancer. Supervisord provides process management
> way above Nginx could offer, while Nginx provides load data in real
> time, so we have exactly as many backends as we need.
>
> If you aim for simply running a pool of backends, look at supervisord,
> period.
>
> If you also want to size the pool dynamically, watch this space :)
> ngx_supervisord isn't yet available (still waiting for finishing
> touches) but consider this a pre-announcement. It's going to require
> patches to the load balancer but if you're using upstream-fair, the
> patch comes with the module source.
>
Wonderful! This sounds just what we're looking for too. I've been
chatting with the maintainers over at supervisord list (Roger et al) and
they're aiming for another update in the coming weeks that may fix some
issues with FCGI handling, which should make nginx + supervisord + php a
very reliable platform.
Subject Author Posted

Launch FastCGI process?

jlist9 October 20, 2009 04:30AM

Re: Launch FastCGI process?

Phillip Oldham October 20, 2009 05:58AM

Re: Launch FastCGI process?

Denis F. Latypoff October 20, 2009 06:14AM

Re: Launch FastCGI process?

jlist9 October 20, 2009 08:32PM

Re: Launch FastCGI process?

Roger Hoover October 20, 2009 08:58PM

Re: Launch FastCGI process?

jlist9 October 21, 2009 01:42AM

Re: Launch FastCGI process?

Igor Sysoev October 20, 2009 09:20AM

Re: Launch FastCGI process?

jlist9 October 21, 2009 01:50AM

Re: Launch FastCGI process?

Johan Bergström October 21, 2009 02:20AM

Re: Launch FastCGI process?

Phillip Oldham October 21, 2009 03:44AM

Re: Launch FastCGI process?

jlist9 October 21, 2009 01:30PM

Re: Launch FastCGI process?

jlist9 October 21, 2009 01:30PM

Re: Launch FastCGI process?

Grzegorz Nosek October 21, 2009 02:14PM

Re: Launch FastCGI process?

Grzegorz Nosek October 21, 2009 02:54AM

Re: Launch FastCGI process?

Phillip Oldham October 21, 2009 03:44AM

Re: Launch FastCGI process?

Kiswono Prayogo October 21, 2009 04:06AM

Re: Launch FastCGI process?

Grzegorz Nosek October 21, 2009 04:24AM

Re: Launch FastCGI process?

Phillip Oldham October 21, 2009 04:38AM

Re: Launch FastCGI process?

Grzegorz Nosek October 21, 2009 04:48AM

Re: Launch FastCGI process?

Roger Hoover October 21, 2009 02:08PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 237
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready