Subject: Re: NMBCLUSTERS setting issues
To: Andy Ruhl <acruhl@gmail.com>
From: Rui Paulo <rpaulo@NetBSD.org>
List: netbsd-help
Date: 07/05/2005 17:48:02
On 2005.07.05 09:58:04 +0000, Andy Ruhl wrote:
| 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
This is normal. See sysctl(3):
MBUF_NMBCLUSTERS
The limit on the number of mbuf clusters. The variable
can only be increased, and only increased on machines
with direct-mapped pool pages
| with "operation not permitted" when I try to set it to 2048. #2 causes
I thought this has already been corrected... Maybe a pullup is missing?
| 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
-- Rui Paulo