Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2013 12:54:31 +0400
From:      Andrey Zonov <zont@FreeBSD.org>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r245696 - head/usr.sbin/inetd
Message-ID:  <50FD0247.9050702@FreeBSD.org>
In-Reply-To: <20130121084936.GC1404@garage.freebsd.pl>
References:  <201301201944.r0KJiY0C094120@svn.freebsd.org> <20130121084936.GC1404@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
------enig2LEUFWCLTIBGPCPKEPPGS
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

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

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 t=
han
     zero is specified, backlog is silently forced to
kern.ipc.soacceptqueue.

Note that kern.ipc.soacceptqueue is the same as kern.ipc.somaxconn.

--=20
Andrey Zonov


------enig2LEUFWCLTIBGPCPKEPPGS
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQEcBAEBAgAGBQJQ/QJLAAoJEBWLemxX/CvT/G4H/Aq+kaJDHN+KPxpAmTSHjkOL
a5FVFsdCBS6nruinxaFEEFM54ZcPNv1TNWLTkaQyU9Zy1Azw4EbuQkN2Og3EXs38
ojgGAC9COS5vghvZ25XANo9SviWVsVbvcuulhTNt1RQ4voI+jhk6VqVWPfxv4UAm
9wJl+4IngHqlatks0xKAkuH/6C6VcJ2yHH1XAA8IbxlsuSUVUbp2vG5VFYgRwLId
gb2XuzFUSnhqw1GxlOG2g8RNalOfvcXgx0mCubLQFKpftOEhw5eqstfxtZlRAzDA
uo+4N5qENgH1S8tm46sBQSBslVBFfciF9+6httTGdHdzfKzjfVM1HaVg08Gih1U=
=VCoW
-----END PGP SIGNATURE-----

------enig2LEUFWCLTIBGPCPKEPPGS--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50FD0247.9050702>