Subject: kern/11954: panic: malloc: out of space in kmem_map
To: None <gnats-bugs@gnats.netbsd.org>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 01/14/2001 00:42:33
>Number:         11954
>Category:       kern
>Synopsis:       panic: malloc: out of space in kmem_map
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 14 00:41:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Martin Husemann
>Release:        <NetBSD-current source date>
>Organization:
	
>Environment:
System: NetBSD setting-sun.meka2001.de 1.5Q NetBSD 1.5Q (SETTINGSUN) #9: Thu Jan 11 23:32:20 MET 2001     martin@setting-sun.duskware.de:/usr/src/sys/arch/sparc64/compile/SETTINGSUN
Architecture: sparc64
Machine: sparc64
>Description:

With only 64 MB of memory on a sparc64 machine I could reproduceably panic
the machine by removing large, deep file trees.

I have no clue if this is sparc64 pmap using a to low NKMEMPAGES_MAX value
or a general runaway ubc/softdep problem (that's why category is kern, not
sparc64, please reassign if analyzis points at culprit ;-) )

>How-To-Repeat:

when /usr/pkgsrc is the complete NetBSD pkgsrc tree, on ffs, with softdeps
enabled:

rm -rf /usr/pkkgsrc

>Fix:
n/a
>Release-Note:
>Audit-Trail:
>Unformatted: