Re: TIME_WAIT tuning

2012-01-29 Thread Willy Tarreau
Hi Sander, On Fri, Jan 27, 2012 at 09:52:11PM +0100, Sander Klein wrote: Hi, while benchmarking my new web-server cluster I quickly hit the limit of 32.768 sockets in TIME_WAIT state. There is no such standard limit, I have even reached 5 million. I've been looking around on the internet

Re: TIME_WAIT tuning

2012-01-29 Thread Sander Klein
Oh dear... I did some more testing and it's not a problem with TIME_WAIT. It was a firewall in between. During my last test I easily had 60.000 connections in TIME_WAIT state. Greets, Sander On 27.01.2012 21:52, Sander Klein wrote: Hi, while benchmarking my new web-server cluster I

Re: TIME_WAIT tuning

2012-01-29 Thread Sander Klein
Hi Willy, Thank you for your answer. During my search on the internet I found a lot of articles about TIME_WAIT stuff and a limit of 32.768. Since I had around that many sockets in TIME_WAIT I assumed this would be my problem. I did enable tcp_tw_reuse, but I'm not sure if it will work

Re: TIME_WAIT tuning

2012-01-29 Thread Willy Tarreau
On Sun, Jan 29, 2012 at 03:46:57PM +0100, Sander Klein wrote: Hi Willy, Thank you for your answer. During my search on the internet I found a lot of articles about TIME_WAIT stuff and a limit of 32.768. Since I had around that many sockets in TIME_WAIT I assumed this would be my

TIME_WAIT tuning

2012-01-27 Thread Sander Klein
Hi, while benchmarking my new web-server cluster I quickly hit the limit of 32.768 sockets in TIME_WAIT state. I've been looking around on the internet but I'm a bit confused if this limit can be tuned somehow or if it's an hard limit. I read about the tcp_fin_timeout and