nginx errors: upstream timed out (110: Connection timed out)

Posted by Sparsh Gupta on Server Fault See other posts from Server Fault or by Sparsh Gupta
Published on 2011-01-10T22:15:14Z Indexed on 2011/01/10 22:55 UTC
Read the original article Hit count: 224

Filed under:
|

Hi,

I have a nginx server with 5 backend servers. We serve around 400-500 requests/second. I have started getting a large number of Upstream Timed out errors (110: Connection timed out)

Error string in error.log looks like 2011/01/10 21:59:46 [error] 1153#0: *1699246778 upstream timed out (110: Connection timed out) while reading response header from upstream, client: {IP}, server: {domain}, request: "GET {URL} HTTP/1.1", upstream: "http://{backend_server}:80/{url}", host: "{domain}", referrer: "{referrer}"

Any suggestions how to debug such errors. I am unable to find a munin plugin to keep a check on number of upstream errors. Sometime the number of errors per day is way too high and somedays its a more decent 3 digit number. A munin graph would probably help us finding out any pattern or correlation with anything else

How can we make the number of such error as ZERO

© Server Fault or respective owner

Related posts about nginx

Related posts about error