Subject: Re: out of space in kmem_map on 2.0
To: George Harvey <fr30@dial.pipex.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-sparc
Date: 01/07/2005 22:05:10
On Fri, Jan 07, 2005 at 07:16:53PM +0000, George Harvey wrote:
> Hi,
> 
> 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.

> 
> Possibly related: I checked the logs and before it died I was getting
> memory allocation errors from the scsi driver:
> 
>   /netbsd: sd0(esp0:0:3:0): unable to allocate scsipi_xfer
>   /netbsd: sdstart(): try again

Yes, this is the same problem.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--