Subject: Re: panic: malloc: out of space in kmem_map
To: None <current-users@NetBSD.ORG>
From: Simon Burge <simonb@telstra.com.au>
List: current-users
Date: 04/27/1998 12:02:15
Folks,

I was having the following two problems on my NetBSD/pmax 1.3.1 file
server:

>       Apr 21 00:55:12 fhfss /netbsd: panic: malloc: out of space in kmem_map
>       Apr 21 00:55:12 fhfss /netbsd: syncing disks... 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 giving up

and:

> and lots of:
> 
>       Apr 20 22:00:19 fhfss /netbsd: mb_map full

These seem to have been fixed by adding the following two lines to my
kernel config file:

	options         "NKMEMCLUSTERS=3072"    # 4K pages in kernel malloc pool
	options         "NMBCLUSTERS=6144"      # extra mbuf clusters

Simon.