From owner-freebsd-hackers Sat Nov 20 0:20:23 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id CAC1414CAD for ; Sat, 20 Nov 1999 00:20:21 -0800 (PST) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.9.3/8.9.3) with ESMTP id AAA62047; Sat, 20 Nov 1999 00:20:07 -0800 (PST) (envelope-from dwhite@resnet.uoregon.edu) Date: Sat, 20 Nov 1999 00:20:07 -0800 (PST) From: Doug White To: Paulo Fragoso Cc: hackers@FreeBSD.ORG Subject: Re: Tunning In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 19 Nov 1999, Paulo Fragoso wrote: > Is there any HOWTO for to tune havy load web servers using FBSD 3.x? > > For FreeBSD 2.x I knew some items for kernel, like: > > options "NMBCLUSTERS=1024" > options "CHILD_MAX=512" > options "OPEN_MAX=512" > > but about FBSD 3.x I didn't. Tweak `maxusers' first. Maxusers is a general scaling constant that affects multiple tables, including the ones formerly controlled by CHILD_MAX and OPEN_MAX. I recommend at least 64 for most server systems, 128 being a good median. If you need an insane number of mbufs, set NMBCLUSTERS independently, but use 'netstat -m' to make sure you don't reduce the number of mbufs. I wouldn't touch NMBCLUSTERS independently unless you have information/experience otherwise. Doug White | FreeBSD: The Power to Serve dwhite@resnet.uoregon.edu | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message