Welcome! Log In Create A New Profile

Advanced

Re: Nginx as Load Balancer Connection Issues

January 24, 2012 01:23PM
Andrey Korolyov Wrote:
-------------------------------------------------------
> On Tue, Jan 24, 2012 at 9:59 PM, ggrensteiner
> <nginx-forum@nginx.us> wrote:
> > net.ipv4.tcp_tw_recycle = 1
> >
> > is what your looking for
> >
> > Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,220894,221583#ms
> g-221583
> >
> > _______________________________________________
> > nginx mailing list
> > nginx@nginx.org
> > http://mailman.nginx.org/mailman/listinfo/nginx
>
> This may cause trouble if multiple clients trying
> to reach the server
> over same NAT, so be careful. I have a negative
> experience even on ~
> 10 http reqs/min from NAT machine.
>

This is what I had read everywhere as well, so I've been hesitant to try it. We definitely have a lot of users that would be coming at our servers from the same buliding/NAT.

Has anyone tried using "net.ipv4.tcp_tw_reuse = 1" in a larger connection count environment before?

I have it enabled now, but it did not seem to have any impact on the number of TIME_WAIT connections. Does it wait until it actually needs to reuse one (due to port exhaustion) before doing so? Or should it be keeping the number lower?
Subject Author Posted

Nginx as Load Balancer Connection Issues

gtuhl January 06, 2012 04:49PM

Re: Nginx as Load Balancer Connection Issues

gtuhl January 23, 2012 06:00PM

Re: Nginx as Load Balancer Connection Issues

ggrensteiner January 24, 2012 12:59PM

Re: Nginx as Load Balancer Connection Issues

Andrey Korolyov January 24, 2012 01:14PM

Re: Nginx as Load Balancer Connection Issues

gtuhl January 24, 2012 01:23PM

Re: Nginx as Load Balancer Connection Issues

ggrensteiner January 25, 2012 02:36PM

Re: Nginx as Load Balancer Connection Issues

gtuhl March 20, 2012 05:33PM

Re: Nginx as Load Balancer Connection Issues

ressaid January 25, 2012 06:24PM

Re: Nginx as Load Balancer Connection Issues

David Yu March 20, 2012 05:48PM

Re: Nginx as Load Balancer Connection Issues

Alexandr Gomoliako March 20, 2012 05:44PM

Re: Nginx as Load Balancer Connection Issues

gtuhl March 21, 2012 08:56AM

Re: Nginx as Load Balancer Connection Issues

gtuhl March 28, 2012 10:27AM

Re: Nginx as Load Balancer Connection Issues

gtuhl April 30, 2012 09:26PM

Re: Nginx as Load Balancer Connection Issues

Andrey Belov May 01, 2012 01:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 73
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready