Subject: Re: NMBCLUSTERS?
To: Technolord <l.raiser@deathsdoor.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 10/10/2000 19:40:58
On Tue, Oct 10, 2000 at 04:56:10PM +0200, Technolord wrote:
> 
> I'm getting a
> WARNING: mclpool limit reached; increase NMBCLUSTERS
> error. Now, what is this, why is this and does it harm?

The network stack ran out of memory

> Plus, a workaround would be appreciated :)

The memory that can be used for network is limited by the NMBCLUSTERS
constant (you can get this value with 'sysctl kern.mbuf.nmbclusters').
You have two or 3 ways to increase it:
1) if you're on a platform which supports it, you can set it with
   'sysctl -w kern.mbuf.nmbclusters=xxxx'.
   This will be lost on next reboot
2) you can patch the kernel binary:
   gdb --write /netbsd
   set nmbclusters=xxxx
   quit
   You'll need to reboot for this to be handled.
3) recompile a kernel with
options NMBCLUSTERS=xxxx
in the config file.

1) may not work on your machine, 2) and 3) always work.

--
Manuel Bouyer <bouyer@antioche.eu.org>
--