Keep getting 502 Bad Gateway

SplitIce mat999 at gmail.com
Fri Oct 1 09:54:17 MSD 2010


I persume you are using php-fpm, try using the static process manager mode.

On Fri, Oct 1, 2010 at 1:34 PM, illusime <nginx-forum at nginx.us> wrote:
> Hi,
>
> I have set up a drupal site using nginx. But after a few weeks it will
> get 502 bad gateway error on the site. I'm still at the testing stage
> and my site doesn't receive any traffic but keeps going down. After I
> reboot the server it became alright but after a few days the error will
> come back. Any ideas what is wrong?
>
> Error log file:
> [error] 7563#0: *6 connect() failed (111: Connection refused) while
> connecting to upstream, client: ip, server: mysite.com, request: "GET /
> HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "mysite.com"
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,135848,135848#msg-135848
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>



More information about the nginx mailing list