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->so_qlimit?
> B) Do we fix solisten() to compensate? 
> C) Or de we fix the sysctl (patch below)?

I'd patch sysctl.  I can't imagine a listen queue > u_short actually
being all that useful; at some point it is better to just start
shedding load instead of queuing up numerous connections.
--
Jonathan


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to