Subject: Re: check MAX_KMAPENT
To: None <firstname.lastname@example.org>
From: David Laight <email@example.com>
Date: 08/30/2002 00:03:28
On Thu, Aug 29, 2002 at 09:58:57PM +0200, Manuel Bouyer wrote:
> 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.
Hadly surprising since processes done use any (ok maybe much)
that needs static map entries.
IIRC they are only used for kmem_alloc and network buffers.
Maybe some daemon process ought to be be asked to allocate a
few more when numbers are getting low?
David Laight: firstname.lastname@example.org