From owner-freebsd-net Sun Sep 19 9:16:58 1999 Delivered-To: freebsd-net@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 83A9014CC2 for ; Sun, 19 Sep 1999 09:16:56 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id MAA64792; Sun, 19 Sep 1999 12:16:52 -0400 (EDT) (envelope-from wollman) Date: Sun, 19 Sep 1999 12:16:52 -0400 (EDT) From: Garrett Wollman Message-Id: <199909191616.MAA64792@khavrinen.lcs.mit.edu> To: Mohit Aron Cc: freebsd-net@FreeBSD.ORG Subject: limit on number of sockets by zone allocator In-Reply-To: <199909190520.AAA20766@cs.rice.edu> References: <199909190520.AAA20766@cs.rice.edu> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [Only one mailing-list, please!] < said: > allocator limits the maximum number of socket structures to about 8000 (I > configured my kernel with 256 MAXUSERS). A busy webserver can have about `maxsockets' is defined to be the maximum of `nmbclusters' and `maxfiles'. It can easily be changed through the `kern.ipc.maxsockets' tunable in the kernel's boot environment. In -current you should also increase the size of the callout wheel, which is not presently tunable. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message