Re: somaxconn and foot removal

2001-02-12 Thread Alfred Perlstein
* Peter Wemm <[EMAIL PROTECTED]> [010211 05:30] wrote: > > For what it's worth, we found (at Yahoo) that excessively large listen > queues tend to cause more problems than they solve. The circumstances are > probably different, but we found that on one particular application, a > queue of 10 was

Re: somaxconn and foot removal

2001-02-12 Thread Alfred Perlstein
* Jonathan Lemon <[EMAIL PROTECTED]> [010212 06:46] wrote: > On Sun, Feb 11, 2001 at 01:55:16AM -0800, Alfred Perlstein wrote: > > The sysctl for somaxconn is an int, however the queue limits in the > > socket structures are 'short' this can cause some bad behavior if > > one sets somaxconn to mo

Re: somaxconn and foot removal

2001-02-12 Thread Jonathan Lemon
On Sun, Feb 11, 2001 at 01:55:16AM -0800, Alfred Perlstein wrote: > The sysctl for somaxconn is an int, however the queue limits in the > socket structures are 'short' this can cause some bad behavior if > one sets somaxconn to more than 32k. > > A) So, do we bump the sockets to use 'int' for so

Re: somaxconn and foot removal

2001-02-11 Thread Alfred Perlstein
* Garrett Wollman <[EMAIL PROTECTED]> [010211 10:29] wrote: > < said: > > > A) So, do we bump the sockets to use 'int' for so->so_qlimit? > > Make it be `u_short'. (Actually, I'm not sure why all three of those > members aren't unsigned. It would make more sense that way.) This still gives mi

Re: somaxconn and foot removal

2001-02-11 Thread Peter Wemm
Alfred Perlstein wrote: > * Alfred Perlstein <[EMAIL PROTECTED]> [010211 01:55] wrote: > > The sysctl for somaxconn is an int, however the queue limits in the > > socket structures are 'short' this can cause some bad behavior if > > one sets somaxconn to more than 32k. > > > > A) So, do we bump

Re: somaxconn and foot removal

2001-02-11 Thread Alfred Perlstein
* Alfred Perlstein <[EMAIL PROTECTED]> [010211 01:55] wrote: > The sysctl for somaxconn is an int, however the queue limits in the > socket structures are 'short' this can cause some bad behavior if > one sets somaxconn to more than 32k. > > A) So, do we bump the sockets to use 'int' for so->so_