Nginx as Load Balancer Connection Issues

David Yu david.yu.ftw at gmail.com
Tue Mar 20 21:46:30 UTC 2012


On Thu, Jan 26, 2012 at 7:21 AM, Rami Essaid <rami.essaid at gmail.com> wrote:

>  Out of curiosity why would it keep it in TIME_WAIT if it is closing the
> connection?
>
+1.  Also if the connection is closed, why is the upstream (apache) in
TIME_WAIT also?

>
> On Wednesday, January 25, 2012 at 5:14 PM, ggrensteiner wrote:
>
> Have you tried using HTTP 1.1 keepalive connections from nginx to
> apache? They became available in 1.1.4 and will re-use sockets rather
> then close them and leaving them in TIME_WAIT
>
> Be sure to remember to turn on keepalive in your apache config as well.
>
> http://nginx.org/en/docs/http/ngx_http_upstream_module.html
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,220894,221646#msg-221646
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>



-- 
When the cat is away, the mouse is alone.
- David Yu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120321/a06ceb9e/attachment.html>


More information about the nginx mailing list