Subject: Re: panic - help?
To: Jukka Marin <jmarin@pyy.jmp.fi>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-i386
Date: 05/14/1997 10:46:16
On Wed, 14 May 1997 12:14:04 +0300 (EET DST)
Jukka Marin <jmarin@pyy.jmp.fi> wrote:
> Just got this on NetBSD 1.2 (64 MB RAM, lots of swap):
>
> panic: vm_map_entry_create: out of map entries
>
> How do I keep this from happening again? I did a 'ps' on the core dump and
> saw a huge amount of sendmail processes there (that's probably what killed
> the system).
...you've run out of statically-allocated vm_map_entry's for kernel_map.
The number that is allocated is defined in vm_map.h:
#define MAX_KMAPENT 500
That should probably be dynamically sized at boot time... but I'm not
sure what the "correct" formula would be... You can kludge it for now
by simply increasing that number.
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: 408.866.1912
NAS: M/S 258-6 Work: 415.604.0935
Moffett Field, CA 94035 Pager: 415.428.6939