From owner-freebsd-current@FreeBSD.ORG Fri Oct 5 12:26:47 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3077B106566B for ; Fri, 5 Oct 2012 12:26:47 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id D7BE28FC08 for ; Fri, 5 Oct 2012 12:26:46 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TK6zQ-0001e3-Pp for freebsd-current@freebsd.org; Fri, 05 Oct 2012 14:26:48 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Oct 2012 14:26:48 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Oct 2012 14:26:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Ivan Voras Date: Fri, 05 Oct 2012 14:26:34 +0200 Lines: 37 Message-ID: References: <03e101cda197$326dc240$974946c0$@org> <506C9CE4.6080400@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF975A8945D65D6A7F67DFB72" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:14.0) Gecko/20120812 Thunderbird/14.0 In-Reply-To: <506C9CE4.6080400@freebsd.org> X-Enigmail-Version: 1.4.3 Subject: Re: sysctl kern.ipc.somaxconn limit 65535 why? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2012 12:26:47 -0000 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--