Subject: Re: New sysctl "net.listen_backlog"?
To: Matt Thomas <matt@3am-software.com>
From: Perry E. Metzger <perry@piermont.com>
List: tech-net
Date: 09/14/1998 20:30:18
Matt Thomas writes:
> 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));
that is cool!
>
> 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