php-fastcgi always exits.. resulting in 502 bad gateway
John Doe
jdmls at yahoo.com
Thu Sep 22 12:10:53 UTC 2011
From: Lintu <nginx-forum at nginx.us>
> I'm using nginx since some days and I got a little trouble. It seems
> that after some while of working fine nginx exits the fastcgi-daemon and
> whenever I try to call a php site then, it shows me 502 Bad Gateway.
> Then I have to "/usr/bin/php-fastcgi start" and everything runs fine
> again.
> So basically my question: How do I make the php-fastcgi not exit itself
> or how do I make it automatically restart on exit? It's annoying that my
> website everytime turns to "502 Bad Gateway" to everyone and I
> don't even know about that!
We use spawn-fcgi here.
JD
More information about the nginx
mailing list