Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Oct 2012 14:26:34 +0200
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-current@freebsd.org
Subject:   Re: sysctl kern.ipc.somaxconn limit 65535 why?
Message-ID:  <k4mjlp$nn5$1@ger.gmane.org>
In-Reply-To: <506C9CE4.6080400@freebsd.org>
References:  <03e101cda197$326dc240$974946c0$@org> <CAJ-Vmo=CtC1SpsedP3nHJsrApTLzktGrjopeV0vXShr0FOUsmA@mail.gmail.com> <506C9CE4.6080400@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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.




[-- Attachment #2 --]
-----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-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?k4mjlp$nn5$1>