Welcome! Log In Create A New Profile

Advanced

Re: 502 Bad Gateway (php-fastcgi processes crashing)

Julien Vehent
February 11, 2011 12:42PM
On Thu, 10 Feb 2011 05:51:06 -0500, shadowlink64 wrote:
> Our site is currently on a linux VPS with DreamHost and using nginx
> 0.8.53 as the web server and php-fcgi version 5.2.15. On occasion,
> our
> php-fastcgi processes just suddenly crash, and our users are left
> with a
> "502 Bad Gateway" error from nginx. The server is configured to use
> unix
> sockets and not a TCP port.
>

Everybody has that problem with PHP. The solution is to monitor PHP
with *something* (php-fpm, supervise, etc...)

I do it with supervise:
http://wiki.linuxwall.info/doku.php/en:ressources:dossiers:nginx:daemontools_spawnfcgi



Julien

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

502 Bad Gateway (php-fastcgi processes crashing)

shadowlink64 February 10, 2011 05:51AM

Re: 502 Bad Gateway (php-fastcgi processes crashing)

edogawaconan February 10, 2011 06:14AM

Re: 502 Bad Gateway (php-fastcgi processes crashing)

Jim Ohlstein February 10, 2011 06:16AM

Re: 502 Bad Gateway (php-fastcgi processes crashing)

Julien Vehent February 11, 2011 12:42PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 75
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready