Nginx giving 502 Bad Gateway in random intervals

darshan.choudhary nginx-forum at nginx.us
Tue May 14 13:34:01 UTC 2013


I am getting a 502 Bad Gateway on my server after any random intervals.

If i run the following code the server starts working again:

/usr/bin/spawn-fcgi -a 127.0.0.1 -p 9000 -u www-data -g www-data -f
/usr/bin/php5-cgi -P /var/run/fastcgi-php.pid

I have tried every possible way available on the internet.

Can anyone help I am kinda newbie with server configs and stuff..!! 

Thanx

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,239181,239181#msg-239181



More information about the nginx mailing list