From owner-freebsd-isp Wed Aug 11 10:25:51 1999 Delivered-To: freebsd-isp@freebsd.org Received: from dt011n65.san.rr.com (dt011n65.san.rr.com [204.210.13.101]) by hub.freebsd.org (Postfix) with ESMTP id 889BE14D00 for ; Wed, 11 Aug 1999 10:25:44 -0700 (PDT) (envelope-from Doug@gorean.org) Received: from gorean.org (master [10.0.0.2]) by dt011n65.san.rr.com (8.9.3/8.8.8) with ESMTP id KAA67578; Wed, 11 Aug 1999 10:25:01 -0700 (PDT) (envelope-from Doug@gorean.org) Message-ID: <37B1B1EE.4DCF214F@gorean.org> Date: Wed, 11 Aug 1999 10:25:02 -0700 From: Doug Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.61 [en] (X11; U; FreeBSD 4.0-CURRENT-0730 i386) X-Accept-Language: en MIME-Version: 1.0 To: ndear@areti.net Cc: freebsd-isp@FreeBSD.ORG Subject: Re: mbuf clusters. References: <199908111513.QAA21355@post.mail.areti.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "Nicholas J. Dear" wrote: > > Hi, > > We had an increase in web requests today (about 500/sec) because of the UK > solar eclipse here, and it caused one of our web servers to have some trouble. It > was also coupled with the live broadcast being put up by FTP, and there was a lot > of FTP activity. > > Where can I alter the item below, and what would be a sensible, but reasonably > high figure? > > TIA. > > Aug 11 09:37:25 sithonia /kernel: Out of mbuf clusters - adjust > NMBCLUSTERS or increase maxusers! It's impossible to answer this question intelligently without knowing your version of the OS and your current kernel maxusers setting, not to mention memory, processor, etc. However in general for a short term crisis situation like this you can go to 512 maxusers and 15000 NMBCLUSTERS on a 2.2.8 system, assuming that you have enough ram. I'd say 256M ought to do it. If you have a 3.2 system you can go higher on these numbers, but chances are you won't need to. netstat [-s | -sr | -m] will give you a better idea of hot to tune it when the crisis is over. Good luck, Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message