Hi, <br><br>&quot;No route to host&quot;  is not nginx error, if you use linux, please man route for detail information<br>please make sure  that the firewall does not block the port to your backend<br><br><div class="gmail_quote">

2010/1/6 xufengnju <span dir="ltr">&lt;<a href="mailto:xufengnju@sina.com">xufengnju@sina.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">





<div style="margin: 10px; font-family: verdana; font-size: 10pt;">
<div><font face="Verdana" size="2">Hi All,</font></div>
<div> </div>
<div>We got lots of &quot;No route to host&quot; in Nginx error 
log.</div>
<div>&#39;</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: <a href="http://test.com" target="_blank">test.com</a>, request: GET /herundong/index.php HTTP/1.1, upstream: <a href="http://x.y.z.a:80/herundong/index.php" target="_blank">http://x.y.z.a:80/herundong/index.php</a>, host: <a href="http://events.test.com" target="_blank">events.test.com</a>  
&#39; </div>
<div>Using curl on the Nginx proxy server like </div>
<div>curl -v -H &quot;Host: <a href="http://events.test.com" target="_blank">events.test.com</a>&quot; 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 
&#39;No route to host&#39; 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 face="Verdana" size="2"></font> </div>
<div align="left"><font color="#c0c0c0" face="Verdana" size="2">2010-01-06 
</font></div><font face="Verdana" size="2">
<hr style="width: 122px; min-height: 2px;" align="left" size="2">

<div><font color="#c0c0c0" face="Verdana" size="2"><span>xufengnju</span> 
</font></div></font></div>
<br>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>
<br></blockquote></div><br>