On Mon, Jan 21, 2013 at 12:54:31PM +0400, Andrey Zonov wrote: > On 1/21/13 12:49 PM, Pawel Jakub Dawidek wrote: > > On Sun, Jan 20, 2013 at 07:44:34PM +0000, Andrey Zonov wrote: > >> Author: zont > >> Date: Sun Jan 20 19:44:33 2013 > >> New Revision: 245696 > >> URL: http://svnweb.freebsd.org/changeset/base/245696 > >> > >> Log: > >> - Force inetd to have listen queue size to be set to the value of > >> kern.ipc.somaxconn instead of hardcoded value 64. > > > > Hmm, I didn't know -1 can be provided to use default limit. > > Would you mind documenting it in listen(2)? > > > > It's already documented there: > > The sysctl(3) MIB variable kern.ipc.soacceptqueue specifies a hard > limit > on backlog; if a value greater than kern.ipc.soacceptqueue or less than > zero is specified, backlog is silently forced to > kern.ipc.soacceptqueue. > > Note that kern.ipc.soacceptqueue is the same as kern.ipc.somaxconn.
Indeed, thanks. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://tupytaj.pl
pgp7Znh8716aX.pgp
Description: PGP signature
