Subject: Re: Why is NMBCLUSTERS too low by default?
To: Janne Snabb <>
From: Tomas Svensson <>
List: netbsd-users
Date: 03/24/2002 00:42:06
Sunday, March 24, 2002, 12:28:41 AM, you wrote:


JS> Whenever I install a new NetBSD system and accidentally forget to compile
JS> a new kernel with higher NMBCLUSTERS defined (or am just too lazy), the
JS> machine will always eventually start hitting the mbuf limit. And then
JS> the machine needs to be rebooted just to increase the value because it
JS> is not even a sysctl...

It áctually is a sysctl...

# sysctl kern.mbuf.nmbclusters
kern.mbuf.nmbclusters = 2048

or you can patch your kernel without recompiling (only needs rebooting):

# gdb --write /netbsd
(gdb) set nmbclusters=2048
(gdb) quit