Subject: Re: check MAX_KMAPENT
To: John Maier <firstname.lastname@example.org>
From: Manuel Bouyer <email@example.com>
Date: 08/29/2002 21:58:57
On Tue, Aug 27, 2002 at 04:23:06PM -0500, John Maier wrote:
> I've suddenly been getting a lot of these errors after lock up.
> Aug 27 16:17:20 mail savecore: reboot after panic: mapent_alloc: out of
> static map entries, check MAX_KMAPENT
> What does this mean? Why has this suddenly started?
I guess something is using more ressources than it used to.
MAX_KMAPENT is defined in uvm/uvm_map.h. It's 50 + (2 * NPROC), NPROC
being kern.maxproc I guess.
Just rebuild a kernel with e.g.
You can also bump maxusers in your kernel config file. It will change NPROC,
and thus MAX_KMAPENT.
Manuel Bouyer <firstname.lastname@example.org>