svn commit: r245696 - head/usr.sbin/inetd

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Jan 21 09:19:43 UTC 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20130121/866d4ea2/attachment.sig>


More information about the svn-src-head mailing list