From owner-svn-src-head@FreeBSD.ORG Mon Jan 21 09:19:43 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CBE10C10; Mon, 21 Jan 2013 09:19:43 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.dawidek.net (garage.dawidek.net [91.121.88.72]) by mx1.freebsd.org (Postfix) with ESMTP id 928CFA03; Mon, 21 Jan 2013 09:19:42 +0000 (UTC) Received: from localhost (unknown [86.188.145.194]) by mail.dawidek.net (Postfix) with ESMTPSA id 8990E4CE; Mon, 21 Jan 2013 10:17:09 +0100 (CET) Date: Mon, 21 Jan 2013 10:20:14 +0100 From: Pawel Jakub Dawidek To: Andrey Zonov Subject: Re: svn commit: r245696 - head/usr.sbin/inetd Message-ID: <20130121092014.GD1404@garage.freebsd.pl> References: <201301201944.r0KJiY0C094120@svn.freebsd.org> <20130121084936.GC1404@garage.freebsd.pl> <50FD0247.9050702@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="iBwuxWUsK/REspAd" Content-Disposition: inline In-Reply-To: <50FD0247.9050702@FreeBSD.org> X-OS: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2013 09:19:43 -0000 --iBwuxWUsK/REspAd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. > >=20 > > Hmm, I didn't know -1 can be provided to use default limit. > > Would you mind documenting it in listen(2)? > >=20 >=20 > It's already documented there: >=20 > The sysctl(3) MIB variable kern.ipc.soacceptqueue specifies a hard > limit > on backlog; if a value greater than kern.ipc.soacceptqueue or less t= han > zero is specified, backlog is silently forced to > kern.ipc.soacceptqueue. >=20 > Note that kern.ipc.soacceptqueue is the same as kern.ipc.somaxconn. Indeed, thanks. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://tupytaj.pl --iBwuxWUsK/REspAd Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlD9CE4ACgkQForvXbEpPzSSkgCfUJUN+qFn3SgR586VAwH/w9UL FOwAoM+4LUsmudcuPUKrDiA/U25990nW =d0Um -----END PGP SIGNATURE----- --iBwuxWUsK/REspAd--