Subject: Re: problem with mbufs
To: None <email@example.com>
From: Matthias Winter <firstname.lastname@example.org>
Date: 02/06/2002 23:31:49
> If it's still not enough, keep raising NMBCLUSTERS - 4096 or 8192
> are still fairly sane values, 2048 is quite low for busy
> network router.
> Yeah, this is the symptom of mbuf shortage.
> > After reading through the articles oon netbsd.org I came to the opinion
> > the reason for this can be found at the kern.mbuf.msize
> > sysctl kern.mbuf.msize is 256 at the moment.. but how can i change this?
> > sysctl -w kern.mbuf.msize=512 ---> operation not permitted (does not
> > all architectures?)
> You don't need to change the msize.
> > Can anyone tell me how to change this kernel option without compiling a
> > kernel? i have some probs with my hardware which make sbuilding a new
> > impossible for me at the moment!
> You can change the value for compiled kernel using gdb:
> > gdb --write /yourkernel
> (gdb) set nmbclusters 4096
> (gdb) quit
> reboot and that's it :)
i will try ;)