Subject: Re: malloc: Out of space in kmem_map
To: Paul Goyette <>
From: D'Arcy J.M. Cain <>
List: current-users
Date: 07/05/1998 06:33:39
Thus spake Paul Goyette
> As a result of some of my own code, I've run up against the above-
> mentioned panic on the mac68k port.  So, I raised the value of
> NKMEMCLUSTERS from its default value of 512 to twice as many, 1024.
> But when I booted the resulting kernel, I got the same panic.  Is
> there something else that has to raised at the same time?

NMBCLUSTERS.  On one system with 128MB memory which acts as our shell
server and web server I have the following which stopped it from having
the same panics.

options     NMBCLUSTERS=8192
options     NKMEMCLUSTERS=8192 

Might be a little high but I'm not going to experiment at this point.

D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves                |  and a sheep voting on
+1 416 424 2871     (DoD#0082)    (eNTP)   |  what's for dinner.