Nginx reverse proxy + mongrel and fork

Aleksandar Lazic al-nginx at none.at
Fri Dec 21 12:58:21 MSK 2007


Hi,

On Don 20.12.2007 22:07, Nicky Be wrote:
>Hi all,
>
>I originally posted this to the rails deployment list, but then I
>noticed the nginx forum, and thought it would be better suited here.

[snipp]

>Life is good-- that is until, I bring nginx into the mix.  With nginx
>proxying to the upstream :3000 mongrel, the response isn't immediately
>returned to my browser.  Instead, the rails log file shows that the
>request is finished, but my browser continues to spin, waiting for the
>response.  If I stop the request, I can load an alternate action to
>verify that the lone mongrel is free to serve another request.

1.) what do you mean with 'immediately'?
2.) do you get the answer?
3.) is there a entry in the error log?
4.) please can you add some timing vars in your logs
     http://wiki.codemongers.com/NginxHttpLogModule#log_format
     => request_time
     http://wiki.codemongers.com/NginxHttpUpstreamModule
     => $upstream_response_time

Cheers

Aleks





More information about the nginx mailing list