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

From: Ivan Voras <ivoras_at_freebsd.org>
Date: Fri, 05 Oct 2012 14:26:34 +0200
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.




Received on Fri Oct 05 2012 - 10:26:47 UTC

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