<br><br><div class="gmail_quote">On Thu, Jan 26, 2012 at 7:21 AM, Rami Essaid <span dir="ltr"><<a href="mailto:rami.essaid@gmail.com">rami.essaid@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

                <div>
                    Out of curiosity why would it keep it in TIME_WAIT if it is closing the connection?</div></blockquote><div>+1.  Also if the connection is closed, why is the upstream (apache) in TIME_WAIT also?</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
                </div><div><div></div><div class="h5">
                <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" target="_blank">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" target="_blank">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" target="_blank">nginx@nginx.org</a></div><div><a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a></div>
</div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>
            </div></div><br>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>When the cat is away, the mouse is alone.<br>
- David Yu<br>