<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702"><LINK rel=stylesheet
href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}"></HEAD>
<BODY style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<DIV><FONT size=2 face=Verdana>Hi All,</FONT></DIV>
<DIV> </DIV>
<DIV>We got lots of "No route to host" in Nginx error
log.</DIV>
<DIV>'</DIV>
<DIV>2010/01/05 22:28:01 [error] 29366#0: *26063920 connect() failed (113: No route to host) while connecting to upstream, client: 60.217.152.205, server: test.com, request: GET /herundong/index.php HTTP/1.1, upstream: http://x.y.z.a:80/herundong/index.php, host: events.test.com
' </DIV>
<DIV>Using curl on the Nginx proxy server like </DIV>
<DIV>curl -v -H "Host: events.test.com" http://<FONT
color=#000000>x.y.z.a/herundong/index.php </FONT></DIV>
<DIV>works as expected.</DIV>
<DIV>I searched in Nginx source code, and find even no
'No route to host' in its source code.</DIV>
<DIV> </DIV>
<DIV>Nginx version: 0.7.63</DIV>
<DIV>Backend are Apache servers.</DIV>
<DIV> </DIV>
<DIV>Current Nginx connections ~2k;</DIV>
<DIV>Current Apache Connections ~800(counting all active and inactive
connections)</DIV>
<DIV>I saw on some connections of apache, there was a high Send-Q on established
nginx-apache connections.</DIV>
<DIV>Current Apache load average is under 1;</DIV>
<DIV> </DIV>
<DIV>Any suggestions?</DIV>
<DIV> </DIV>
<DIV>Thanks in advance.</DIV>
<DIV><FONT size=2 face=Verdana></FONT> </DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana>2010-01-06
</FONT></DIV><FONT size=2 face=Verdana>
<HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2>
<DIV><FONT color=#c0c0c0 size=2 face=Verdana><SPAN>xufengnju</SPAN>
</FONT></DIV></FONT></BODY></HTML>