From owner-freebsd-newbies@FreeBSD.ORG Sun Nov 7 11:21:42 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 792FC16A4CE for ; Sun, 7 Nov 2004 11:21:42 +0000 (GMT) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id A562543D54 for ; Sun, 7 Nov 2004 11:21:41 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-a202.otenet.gr [212.205.215.202]) iA7BLcN3020096; Sun, 7 Nov 2004 13:21:39 +0200 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.13.1/8.13.1) with ESMTP id iA7BLa52014719; Sun, 7 Nov 2004 13:21:36 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.13.1/8.13.1/Submit) id iA7BLZct014718; Sun, 7 Nov 2004 13:21:35 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Sun, 7 Nov 2004 13:21:35 +0200 From: Giorgos Keramidas To: "Charles.Tips.[ceo].SilentCircuit" Message-ID: <20041107112135.GA14620@gothmog.gr> References: <418D88C6.9020505@silentcircuit.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <418D88C6.9020505@silentcircuit.net> cc: freebsd-newbies@freebsd.org Subject: Re: Clearing The Mbufs X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2004 11:21:42 -0000 On 2004-11-06 21:30, "Charles.Tips.[ceo].SilentCircuit" wrote: > I have been getting an error that all my mbufs are exhausted. I wanted > to know if there is a way to see what is causing this. I run a machine > that hosts several websites and was wondering which one of them were > doing it. Last time it was caused by someone uploading a 70 meg video > and having about 300 requests per second for it. If anyone has an idea > please let me know. mbufs are internal buffers used for passing packet data up or down the protocol stack inside the FreeBSD kernel. In FreeBSD 5.X or later, they are `auto-tuned', which means you don't have to worry about their number. If you are running an older version of FreeBSD (i.e. one of the 4.X versions), you might have to change the value of kern.ipc.nmbufs. See the tuning(7) manpage for hints about this and other things you can do to improve the performance of your system.