"client closed prematurely connection..."
Wayne E. Seguin
wayneeseguin at gmail.com
Thu Nov 8 07:26:17 MSK 2007
On Nov 5, 2007 6:58 PM, Adam Roth <lists at ruby-forum.com> wrote:
> About 15% of my requests are hanging and the nginx error log outputs:
> *5 client closed prematurely connection, so upstream connection is
> closed too while sending request to upstream
> At this point I'm not sure what the problem is. Nginx? Mongrel? Some
> code causing Rails to quit? Any ideas?
It is possible that the Mongrels are getting more requests than they
can handle in which case they simply close the connection. I'm not
saying this is what is happening but you should make sure that you
have enough running to handle the load. Other than that I am unsure.
More information about the nginx