Subject: Re: out of space in kmem_map on 2.0
To: None <port-sparc@netbsd.org>
From: George Harvey <fr30@dial.pipex.com>
List: port-sparc
Date: 01/08/2005 21:20:36
On Fri, 7 Jan 2005 22:05:10 +0100
Manuel Bouyer <bouyer@antioche.eu.org> wrote:

> On Fri, Jan 07, 2005 at 07:16:53PM +0000, George Harvey wrote:
> > 
> > My SS20 died with 'panic: malloc: out of space in kmem_map' this
> > afternoon while processing mail, it's running 2.0 MP with
> > fetchmail/procmail/spamassassin. Checking the port-sparc mail
> > archive, I see a similar problem on a SS2 in December and the
> > suggestion then was to increase NKMEMPAGES. Does that solve the
> > problem and if so, what is
> 
> yes
> 
> > a good number to increase it by?
> 
> I a dual-CPU ss10 I bumped it to 6095 (it wouldn't boot with raidframe
> with the default), all looks good now.

As a first guess I doubled NKMEMPAGES to 3072 but it has only run for
just over a day since then so probably too early to say if that is
enough on my system. If the scsipi_xfer or kmem_map errors recur I'll
increase it again.

Thanks,
George