Subject: Re: mclpool limit reached
To: None <sigsegv@rambler.ru>
From: Herb Peyerl <hpeyerl@beer.org>
List: netbsd-users
Date: 08/07/2004 06:03:40
On Aug 7, 2004, at 5:08 AM, sigsegv@rambler.ru wrote:

> Well I've just found this 
> http://www.netbsd.org/Documentation/kernel/#mclpool-limit
> I'll give it a try when I have some time after work, and see if it 
> helps
>
The first thing I do after building a new NetBSD machine, or upgrading 
an existing one, is rebuild the kernel with more mbuf clusters.

In the kernel config file:

options NMBCLUSTERS="2048"

The number you choose is dependent on how busy your machine will be as 
far as network activity.  Most of my web servers are at 8192.

The "out of the box" configuration is barely sufficient for any sort of 
basic usage. It should really be bumped up in the GENERIC kernel...