Date: Sat, 20 Nov 1999 00:20:07 -0800 (PST) From: Doug White <dwhite@resnet.uoregon.edu> To: Paulo Fragoso <paulo@nlink.com.br> Cc: hackers@FreeBSD.ORG Subject: Re: Tunning Message-ID: <Pine.BSF.4.21.9911200016120.55276-100000@resnet.uoregon.edu> In-Reply-To: <Pine.BSF.4.10.9911191534480.35643-100000@mirage.nlink.com.br>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.9911200016120.55276-100000>