Subject: NMBCLUSTERS setting issues
To: netbsd <netbsd-help@netbsd.org>
From: Andy Ruhl <acruhl@gmail.com>
List: port-i386
Date: 07/05/2005 09:58:04
I ran into the problem described here:

http://www.netbsd.org/Documentation/kernel/#mclpool-limit

There are 3 possible ways to get around this that I know of:

1. Set the sysctl for kern.mbuf.nmbclusters higher
2. Use gdb to edit the kernel
3. Recompile the kernel

It might be possible to use userconf, I don't know, this page doesn't
describe it though.

On my standard 2.0.2 i386 machine (GENERIC kernel), option #1 fails
with "operation not permitted" when I try to set it to 2048. #2 causes
gdb to core dump. So my only option left is #3, which I really didn't
want to do on this particular machine.

Am I missing something? Do I just have to recompile?

Andy