Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 1999 14:03:29 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Justin <root@warp-9.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: hey
Message-ID:  <Pine.BSF.4.03.9905171401300.15052-100000@resnet.uoregon.edu>
In-Reply-To: <199905161227.WAA02575@warp-9.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 16 May 1999, Justin wrote:

> hey can someone please tell me how the mbuf cluster things work...
> i have been reading up on them and i cant seem to find how they work/what they do
> only how to increase them...

mbufs are Memory Buffers, generally used by the network system to
transport data between network applications and network cards.

The kernel comes with a fixed number of these allocated at boot time.  On
heavy-use systems, it's possible to exhaust the default allocation of
mbufs, causing system crashes.  

The kernel option NMBCLUSTERS increases the boot-time allocation.  

you can monitor usage of mbufs using 'netstat -m'.  If the peak number
comes within 2/3 of the max (or so),  you may want to bump NMBCLUSTERS to
handle peak traffic periods.

Doug White                               
Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" 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.03.9905171401300.15052-100000>