Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Oct 2012 13:05:52 -0700
From:      Xin Li <delphij@delphij.net>
To:        freebsd@chrysalisnet.org
Cc:        freebsd-current@freebsd.org
Subject:   Re: sysctl kern.ipc.somaxconn limit 65535 why?
Message-ID:  <506C9AA0.9060200@delphij.net>
In-Reply-To: <03e101cda197$326dc240$974946c0$@org>
References:  <03e101cda197$326dc240$974946c0$@org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

On 10/03/12 11:45, freebsd@chrysalisnet.org wrote:
> Hi everyone.
> 
> Actually 65k sockets is incredibly easy to reach.

No, this is not kern.ipc.maxsockets.

kern.ipc.somaxconn is for "baclkog" and not the maximum connections.
Accumulating 64K of pending connection request without giving them
some love (e.g. accept()) means there is something wrong.

Cheers,
- -- 
Xin LI <delphij@delphij.net>    https://www.delphij.net/
FreeBSD - The Power to Serve!           Live free or die
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iQEcBAEBCAAGBQJQbJqgAAoJEG80Jeu8UPuz+x0H/2y+aJC1/yotlnjZcjzAmhm2
WpI8l2WNO7oezUH9t6z8SI543Ky0mLjq52oVJTlBWyXuFkGNQdtKJgrbm5hLAiCz
FPojm0p/y3T/ujosunPQl0e/yws6odbEdpGrjSCGJ0VXPQrsWj7NqAJNcDn5hW6m
2wYDkkY9gIxgdfLh8GINvEGO1uY0fyKaPZesepzUsAOOSj/fVdvRK7gSKqaHwDdW
u8VCvfrgD1I1rKj57ymVsf/lpIVPDAv020rJzDnNWWM1dekqzvM7xZ5HiZgkdCca
rTZQGJM3wujuHrjkHP3U5LDMflRWdOHzU236m7vw6jR7ll1xU5GljeNuwp95wFo=
=8tip
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?506C9AA0.9060200>