Connect() failed (113: No route to host)

Hi,

I’ve seen lots of errors like “connect() failed (113: No route to host)
while connecting to upstream” in the nginx error log. The upstream
server is a Tomcat sitting behind nginx. I’ve checked the tomcat status
and it seems to be running OK with only about 1/3 of the max allowed
threads are being used. Any idea what could be the cause here?

Thanks!
Michael

Posted at Nginx Forum:

On Sun, Sep 20, 2009 at 04:36:10AM -0400, gogobu wrote:

Hi,

I’ve seen lots of errors like “connect() failed (113: No route to host) while connecting to upstream” in the nginx error log. The upstream server is a Tomcat sitting behind nginx. I’ve checked the tomcat status and it seems to be running OK with only about 1/3 of the max allowed threads are being used. Any idea what could be the cause here?

Probably, this is network issues between hosts where nginx and Tomcat
are running.

Since tomcat and nginx are both running in the same intranet, I doubt
it’s network problem…

Just a wild guess, I’m running linux kernel 2.6.18, is there some kind
of sysctl settings I need to tune a bit?

Thanks,
Michael

Igor S. Wrote:

running OK with only about 1/3 of the max allowed
Igor Sysoev
Posted at Nginx Forum:
Re: connect() failed (113: No route to host)