Subject: Re: NMBCLUSTERS setting issues
To: Manuel Bouyer <email@example.com>
From: Andy Ruhl <firstname.lastname@example.org>
Date: 07/05/2005 12:38:39
On 7/5/05, Manuel Bouyer <email@example.com> wrote:
> On Tue, Jul 05, 2005 at 09:58:04AM -0700, 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
> > with "operation not permitted" when I try to set it to 2048.
> #1 will work only for some architectures. I know it works on alpha,
> and doesn't work on i386. I don't know for others.
> > #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.
> Although gdb core dumped, it should have changed the value in the kernel
That wasn't the case. I checked it with sysctl before and after a
reboot. cksum on the kernel was the same as well.