Re: sysctl kern.ipc.somaxconn limit 65535 why?
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigF975A8945D65D6A7F67DFB72
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
On 03/10/2012 22:15, Andre Oppermann wrote:
> I guess the problem is rather kern.ipc.maxsockets which is only 25600.
> maxsockets should be bumped up quite a bit by default IMO. How far need=
s
> some analysis because there are some dependencies and memory
> requirements.
So, how about a heuristic, 20,000 + (5000 for every GB of RAM)?
A small, 16 GB machine (yes, 16 GB is "small" nowadays) would have
100,000, which should be enough.
--------------enigF975A8945D65D6A7F67DFB72
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAlBu0foACgkQ/QjVBj3/HSzqpwCggL+MT3+qs48L9KZbO0RDE0ae
SsYAnjoxZVk65OtcaP4LWTAt7RjCy3Xm
=37QX
-----END PGP SIGNATURE-----
--------------enigF975A8945D65D6A7F67DFB72--
討論串 (同標題文章)
完整討論串 (本文為第 31 之 34 篇):