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

Michael Shadle mike503 at gmail.com
Tue Dec 8 14:12:23 MSK 2009


Use php-fpm instead :)

On Tue, Dec 8, 2009 at 12:17 AM, miradev <nginx-forum at nginx.us> wrote:
> Apologies if this is too off topic. My problem is not directly related to nginx.
>
> We've been running nginx + spawn-fcgi for 6 months without any issues. Until one morning I come in and all our sites are down because there were no php-cgi processes running. Obviously I'm keen to not have this happen again. I could make use of something like monit to monitor the php-cgi processes, but even a few minutes down time (waiting for a monit cycle) is not good.
>
> The only article on this I've been able to find so far is this one: http://blog.taragana.com/index.php/archive/how-to-stop-crashing-hanging-of-php-cgi-spawn-fcgi-with-nginx-lighttpd/
>
> As this is a popular combo with nginx, I was wondering if anyone here had any advice, or even just some more articles for me to RTFM?
>
> Thanks.
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,28783,28783#msg-28783
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>



More information about the nginx mailing list