OpenVZ Forum


Home » Mailing lists » Users » time wait bucket table overflow
time wait bucket table overflow [message #26118] Tue, 15 January 2008 18:10 Go to next message
Cliff Wells is currently offline  Cliff Wells
Messages: 30
Registered: June 2006
Member
I was doing some benchmarking with ab and noticed these in my syslog:

Jan 14 16:20:42 vps1 TCP: time wait bucket table overflow
Jan 14 16:20:42 vps1 TCP: time wait bucket table overflow
Jan 14 16:20:42 vps1 TCP: time wait bucket table overflow
Jan 14 16:20:42 vps1 TCP: time wait bucket table overflow
Jan 14 16:20:43 vps1 printk: 1060 messages suppressed.

Google turned up some info on this:

http://bugzilla.openvz.org/show_bug.cgi?id=460


But I've already got that parameter turned up: 

# cat /proc/sys/net/ipv4/tcp_max_tw_buckets_ub 
32768

Is there somewhere else I should look? 

Note that the benchmarking I was doing was actually in the host OS, not
a VE.

Regards,
Cliff
Re: time wait bucket table overflow [message #26129 is a reply to message #26118] Wed, 16 January 2008 06:35 Go to previous messageGo to next message
vaverin is currently offline  vaverin
Messages: 708
Registered: September 2005
Senior Member
Hi Cliff,

I think network stress testing can create much more time wait buckets. It is information message and not an error therefore IMHO it is not a problem for you.

Do you want to allow it? Try to increase
/proc/sys/net/ipv4/tcp_max_tw_buckets (global limit)
and
/proc/sys/net/ipv4/tcp_max_tw_buckets_ub (per-VE limit, but host system itself accounts like ususal VE)
values.

thank you,
Vasily Averin
Re: Re: time wait bucket table overflow [message #26147 is a reply to message #26129] Wed, 16 January 2008 09:11 Go to previous message
Cliff Wells is currently offline  Cliff Wells
Messages: 30
Registered: June 2006
Member
On Wed, 2008-01-16 at 09:35 +0300, vaverin wrote:
> 
> Hi Cliff,
> 
> I think network stress testing can create much more time wait buckets.
> It is information message and not an error therefore IMHO it is not a
> problem for you.

I was concerned because I was seeing odd results during testing (the ab
test was running 500-1000 concurrent connections).  Most of the
connections finished in <2ms but a few would take almost as long as the
entire test (15s).  This may be an ab bug however.
> 
> Do you want to allow it? Try to increase 
> /proc/sys/net/ipv4/tcp_max_tw_buckets (global limit)
> and
> /proc/sys/net/ipv4/tcp_max_tw_buckets_ub (per-VE limit, but host
> system itself accounts like ususal VE)
> values.
> 
Yes, I tried this.  Apparently I did not go high enough.  

Thanks for the help.

Regards,
Cliff
Previous Topic: Patch to turn a centos-4 metadata into a centos-5 version
Next Topic: TCP packets lost?
Goto Forum:
  


Current Time: Tue Apr 23 10:20:38 GMT 2024

Total time taken to generate the page: 0.01422 seconds