3 messages in ru.sysoev.nginxRe: 502 Bad Gateway
FromSent OnAttachments
dynaAug 21, 2007 6:50 pm 
Igor SysoevAug 21, 2007 10:31 pm 
dynaAug 22, 2007 5:44 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: 502 Bad GatewayActions...
From:dyna (sbob@public.gmane.org)
Date:Aug 22, 2007 5:44:07 pm
List:ru.sysoev.nginx

Do you see "104: Connection reset by peer" sometimes or always?

Yes, it's consistently this error.

This is on kernel 2.6.22.x The previous incarnation would have been on, 2.6.20.x

After making the post I went for the eliminate everything one by one approach. I tried the dev branch of nginx instead of stable, same thing. I installed Lighttpd, let it spawn its own fcgi processes, that worked. I spawned a process myself for nginx just from cmd line from the binary and that worked.

So what ended up working for me is I used the spawn script from Lighttpd for nginx. It's odd though, because the Lighttpd one and the one I used, which comes from http://blog.kovyrin.net/ are almost identical to each other.

It's fixed for my purposes, but if you want me to try anything else I can.