<!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>&nbsp;</DIV>
<DIV>We got lots of "No&nbsp;route&nbsp;to&nbsp;host" in Nginx&nbsp;error 
log.</DIV>
<DIV>'</DIV>
<DIV>2010/01/05&nbsp;22:28:01&nbsp;[error]&nbsp;29366#0:&nbsp;*26063920&nbsp;connect()&nbsp;failed&nbsp;(113:&nbsp;No&nbsp;route&nbsp;to&nbsp;host)&nbsp;while&nbsp;connecting&nbsp;to&nbsp;upstream,&nbsp;client:&nbsp;60.217.152.205,&nbsp;server:&nbsp;test.com,&nbsp;request:&nbsp;GET&nbsp;/herundong/index.php&nbsp;HTTP/1.1,&nbsp;upstream:&nbsp;http://x.y.z.a:80/herundong/index.php,&nbsp;host:&nbsp;events.test.com&nbsp; 
'&nbsp;</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&nbsp;route&nbsp;to&nbsp;host' in its source code.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Nginx version: 0.7.63</DIV>
<DIV>Backend are Apache servers.</DIV>
<DIV>&nbsp;</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>&nbsp;</DIV>
<DIV>Any suggestions?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks in advance.</DIV>
<DIV><FONT size=2 face=Verdana></FONT>&nbsp;</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>