Connection refused problem

all servers are running and nginx has the following error log every once
in a while.

2010/07/27 08:37:57 [error] 1948#0: *429632943 connect() failed (111:
Connection refused) while connecting to upstream, client:, server:, request: “GET xxxx HTTP/1.1”,
upstream: “server://”, host: “”,
referrer: “xxx”

Is the listen queue full ?what causes the above problem?

Posted at Nginx Forum:,113710,113710#msg-113710

ur upstream is refusing the connection as described in the error log.
have you checked ur upstream logs? could be multiple things, starting
from server configurations to webserver config. check to make sure ur
not hitting ur max connection on the upstream httpd, paste an output
of ‘dmesg’, if ur running iptables or any other firewall makes sure to
check the logs and rules and check the system to confirm that u are
not running out of sockets to be used by the upstream httpd as well as
system file descriptors “ulimit -a”

if u want you can paste an output and i can help troubleshoot

Payam Tarverdyan Chychi
Network Security Specialist / Network Engineer

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs