<div>
                    Out of curiosity why would it keep it in TIME_WAIT if it is closing the connection?
                </div>
                <div><div><br></div></div>
                 
                <p style="color: #A0A0A8;">On Wednesday, January 25, 2012 at 5:14 PM, ggrensteiner wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div><div>Have you tried using HTTP 1.1 keepalive connections from nginx to</div><div>apache?  They became available in 1.1.4 and will re-use sockets rather</div><div>then close them and leaving them in TIME_WAIT</div><div><br></div><div>Be sure to remember to turn on keepalive in your apache config as well.</div><div><br></div><div><a href="http://nginx.org/en/docs/http/ngx_http_upstream_module.html">http://nginx.org/en/docs/http/ngx_http_upstream_module.html</a></div><div><br></div><div>Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,220894,221646#msg-221646">http://forum.nginx.org/read.php?2,220894,221646#msg-221646</a></div><div><br></div><div>_______________________________________________</div><div>nginx mailing list</div><div><a href="mailto:nginx@nginx.org">nginx@nginx.org</a></div><div><a href="http://mailman.nginx.org/mailman/listinfo/nginx">http://mailman.nginx.org/mailman/listinfo/nginx</a></div></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>