Subject: Re: New sysctl "net.listen_backlog"?
To: None <tech-net@netbsd.org>
From: Matt Thomas <matt@3am-software.com>
List: tech-net
Date: 09/14/1998 17:17:54
At 05:12 PM 9/14/98 , Perry E. Metzger wrote:
>
>btw, I think that "net.inet.tcp.maxconn" or the equivalent is probably
>a better name.

FWIW, Digital UNIX has two knobs: somaxconn and sominconn

real_backlog = MIN(somaxconn, MAX(sominconn, backlog));

This allows you fix stupid applications that use SOMAXCONN by
overriding it but also limiting the maximum backlog to a sane
value.

You could default them to 1024 and 0 and allow them to be 
tweaked by sysctl.
-- 
Matt Thomas               Internet:   matt@3am-software.com
3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt/
Sunnyvale, CA             Disclaimer: I avow all knowledge of this message