nginx 1.4.1 - slow transfers / connection resets

Igor Anishchuk lists at ruby-forum.com
Fri Mar 28 10:42:06 UTC 2014


We hit the same problem. First off, to work around this problem add the
following to your nginx configuration:

send_timeout 3600;

This will increase the time out to one hour which is long enough to
empty the buffer with a slow connection.


As to what's happening during these 60 seconds I can answer. The traffic
from the server continues to flow non-stop to the client during the 60
seconds and after that, until the client downloads so much data as is
reported in the access.log.

I am able to reproduce this problem connecting using "curl --limit-rate
5k" to localhost.


I hope this helps someone in the future.

/Igor

-- 
Posted via http://www.ruby-forum.com/.



More information about the nginx mailing list