Subject: panic: malloc: out of space in kmem_map
To: None <port-sparc@NetBSD.org>
From: Martin Husemann <martin@duskware.de>
List: port-sparc
Date: 12/02/2004 09:31:13
This happened to a SS2 with 64MB ram, running 2.0 for ~36 hours.

I probably should bump up MAXUSERS (currently 48) or something - though there
realy is not much happening on this machine, it just routes some traffic, no
big daemons nor interactive users. NFS is client only, the machine is
diskless.

Hints?

Martin


panic: malloc: out of space in kmem_map
Stopped in pid 4255.1 (mtree) at        netbsd:cpu_Debugger+0x4:        or              %
o7, %g0, %g1
db> 
db> bt
cpu_Debugger(0xf017d598, 0x0, 0x1000, 0x0, 0x0, 0xf01ab800) at netbsd:malloc+0x2
0c
malloc(0x0, 0xf01a9138, 0x0, 0x100, 0xf01f5ef4, 0x100) at netbsd:hashinit+0x5c
hashinit(0x0, 0x0, 0xf01a9138, 0x0, 0xf01f1c9c, 0x0) at netbsd:nfs_initdircache+
0x20
nfs_initdircache(0xf296ede8, 0xf01a9000, 0x516, 0x2000, 0x0, 0x0) at netbsd:nfs_
enterdircache+0x310
nfs_enterdircache(0xf296f4c8, 0x0, 0x0, 0xf047cc00, 0x200, 0x0) at netbsd:nfs_bi
oread+0x83c
nfs_bioread(0xf2c06200, 0xf2d65e18, 0xf296f4c8, 0xf2ba21d8, 0xf0558db8, 0xf296ed
e8) at netbsd:nfs_readdir+0x64
nfs_readdir(0x16, 0x20001, 0xdba, 0x0, 0xf006aa9c, 0xf0171ef4) at netbsd:vn_read
dir+0xac
vn_readdir(0x16, 0x45000, 0x0, 0x1000, 0xf2d65eb0, 0xf2ba21d8) at netbsd:sys_get
dents+0x58
sys_getdents(0x9, 0xf2d65f28, 0xf2d65f20, 0x0, 0xf2d65f28, 0x400) at netbsd:sysc
all+0x104
syscall(0x110, 0xf2d65fb0, 0x100f1488, 0x0, 0x0, 0x400) at 0xf0006528