Re: sysctl kern.ipc.somaxconn limit 65535 why?

From: Xin Li <delphij_at_delphij.net>
Date: Wed, 03 Oct 2012 13:05:52 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

On 10/03/12 11:45, freebsd_at_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_at_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-----
Received on Wed Oct 03 2012 - 18:05:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:31 UTC