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

看板FB_current作者時間13年前 (2012/10/05 20:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串31/34 (看更多)
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--
文章代碼(AID): #1GRjD3Qe (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1GRjD3Qe (FB_current)