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