Subject: Re: New sysctl "net.listen_backlog"?
To: Todd Vierling <tv@pobox.com>
From: Perry E. Metzger <perry@piermont.com>
List: tech-net
Date: 09/14/1998 15:04:33
Todd Vierling writes:
> I'd like to address PR 5750 by adding a sysctl "net.listen_backlog" which
> specifies the upper limit of the connection backlog of a listen() call.
> 
> The kernel default for this value would be 5, _but_ the definition of
> SOMAXCONN in <sys/socket.h> would be changed to something intended to make
> reasonable use of an increased value by default (say, 32).  Since listen()
> silently reduces a larger-than-the-limit number automatically, this would
> not interfere with program operation.
> 
> Comments?

Maybe we should talk to Richard Stevens a bit about whether or not the 
SOMAXCONN interface should be left as is at all. It might be smarter,
going forward, to have code make a call to find out the value. As he's 
involved with updating a bunch of the standards vis a vis the sockets
interfaces (largely because of the IPv6 effort) it might be a cool
time to start a dialog with people involved in standardization.

Perry