Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

Michael Shadle mike503 at gmail.com
Tue Dec 8 14:52:24 MSK 2009


roger that. just wondering why they're crashing under spawn-fcgi to begin with.

and also ... we all know php-fpm is a process manager too. two birds
with the same stone! ;)

On Tue, Dec 8, 2009 at 3:45 AM, Grzegorz Nosek <grzegorz.nosek at gmail.com> wrote:
> On Tue, Dec 08, 2009 at 03:33:05AM -0800, Michael Shadle wrote:
>> well spawn-fcgi not working properly could be considered critical.
>>
>> have you tried the latest stable spawn-fcgi, and then the latest beta?
>
> It won't work anyway.
>
> Repeat after me.
>
> spawn-fcgi is not a process manager. spawn-fcgi is not a process manager.
> spawn-fcgi is not a process manager. spawn-fcgi is not a process manager.
> spawn-fcgi is not a process manager. spawn-fcgi is not a process manager.
> spawn-fcgi is not a process manager. spawn-fcgi is not a process manager.
> spawn-fcgi is not a process manager. spawn-fcgi is not a process manager.
>
> No version of spawn-fcgi will help you (or the OP) with crashing PHP
> processes. Use a process manager, like supervisord, god, runit, upstart,
> sysvinit, daemontools or whatever suits you, that can actually restart a
> crashed PHP.
>
> (shameless plug: consider supervisord with ngx_supervisord, announced
> here recently)
>
> Best regards,
>  Grzegorz Nosek
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>



More information about the nginx mailing list