sysctl kern.ipc.somaxconn limit 65535 why?

Ivan Voras ivoras at freebsd.org
Fri Oct 5 12:26:47 UTC 2012


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 needs
> 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.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20121005/94097135/signature.pgp


More information about the freebsd-current mailing list