Nginx + PHP FASTCGI FAILS - how to debug ?
merlincorey at dc949.org
Wed Jan 13 03:46:22 MSK 2010
On Tue, Jan 12, 2010 at 10:05 AM, Niro <nginx-forum at nginx.us> wrote:
> I have an Ubuntu 9.10 server on AMAZON EC2 running Nginx +PHP with PHP FASTCGI via port 9000.
> The server runs fine for a few minutes and after a few minutes (several thousands of hits in this case) FastCGI dies and Nginx returns 502 Error.
> Nginx log shows 2010/01/12 16:49:24 1093#0: *9965 connect() failed (111: Connection refused) while connecting to upstream, client: 188.8.131.52, server: localhost, request: "GET /data.php?data=7781 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "site1.mysite.com", referrer: "http://www.othersite.com/subc.asp?t=10"
> How can I debug what is causing FastCGI to die ?
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,40332,40332#msg-40332
> nginx mailing list
> nginx at nginx.org
It appears to not be running or perhaps a firewall is blocking, but I
am guessing the former.
More information about the nginx