Subject: Re: kernal panic in NetBSD 1.3...
To: R. C. Dowdeswell <elric@imrryr.org>
From: Luke Miller <millerlu@peak.org>
List: port-i386
Date: 10/31/1999 21:41:39
Looking in /usr/include/machine/param.h I see:

#define NKMEMCLUSTERS   (6 * 1024 * 1024 / CLBYTES)

Doing the math there, 6 * 1024 * 1024 I get 6291456, unless I am missing
something here.  What would be a good value to set NKMEMCLUSTERS to?

Luke

      ***********************************************************
      *      Luke Miller              System Administrator      *
      *   millerlu@peak.org               541-754-7325          *
      ***********************************************************


> On 941427819 seconds since the Beginning of the UNIX epoch
> Luke Miller wrote:
> >
> >
> >I am running NetBSD 1.3 on an i386,  I know that I need to upgrade to a
> >newer software version (and that will probobly fix the problem that I am
> >having), but I was hoping there was a quick patch or kernel modification I
> >could make in the short term.  Here is what I am getting:
> >
> >malloc() out of mem in kmem_map.
> >
> >Any help would be greatly apprecated.
> >
> >Thanks,
> >
> >Luke
> 
> Well, I'd first try setting NKMEMCLUSTERS (see man 4 options) in
> your kernel config.  You can find the default value in
> /usr/include/machine/param.h, and increasing this value may help
> assuming that you are not running into the problem due to some bad
> behaviour.
> 
>  == Roland Dowdeswell                      http://www.Imrryr.ORG/~elric/  ==
>  == The Unofficial NetBSD Web Pages        http://www.Imrryr.ORG/NetBSD/  ==
>  == The NetBSD Project                            http://www.NetBSD.ORG/  ==