Subject: Re: panic: malloc: out of space in kmem_map
To: None <netbsd-help@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 10/02/2002 22:32:08
On Tue, Oct 01, 2002 at 09:06:37PM -0400, Christophe Kalt wrote:
> For the past many months, one of my system has been rebooting
> for no apparent reason. Finally caught the panic message on
> the console, unfortunately, no crash dump.
>
> Anyways, digging the lists revealed many posts about similar
> crashes, and i gather that this should be solvable by raising
> NKMEMPAGES. Something must have changed at some point as this
> is a relatively new problem (for this system).
>
> Anyhow, i have couple questions:
>
> (1) how am i supposed to pick a better value for this?
>
> (2) how can i monitor usage in a meaningful way? vmstat -m ?
> Also, vmstat -m reports a total allocated of 37012K which
> is nowhere near vm.nkmempages * hw.pagesize so i'm confused.
Maybe usage grows over time, or with some special external pattern.
I'm not sure all pages used in NKMEMMAP are shown in vmstat -m
--
Manuel Bouyer <bouyer@antioche.eu.org>
--