Subject: Re: New sysctl "net.listen_backlog"?
To: Matt Thomas <firstname.lastname@example.org>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
Date: 09/14/1998 17:35:00
>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
>You could default them to 1024 and 0 and allow them to be
>tweaked by sysctl.
Um. Do we want to keep the the special semantics of a back-log
of <= zero, though? Like:
if (backlog <= 0)
real_backlog = 0;
real_backlog = MIN(somaxconn, MAX(sominconn, backlog));