Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Nov 2004 13:21:35 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        "Charles.Tips.[ceo].SilentCircuit" <admin@silentcircuit.net>
Cc:        freebsd-newbies@freebsd.org
Subject:   Re: Clearing The Mbufs
Message-ID:  <20041107112135.GA14620@gothmog.gr>
In-Reply-To: <418D88C6.9020505@silentcircuit.net>
References:  <418D88C6.9020505@silentcircuit.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2004-11-06 21:30, "Charles.Tips.[ceo].SilentCircuit" <admin@silentcircuit.net> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041107112135.GA14620>