Subject: kern/9389: UVM panics when physical memory fills
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dogcow@redback.com>
List: netbsd-bugs
Date: 02/10/2000 16:18:39
>Number: 9389
>Category: kern
>Synopsis: UVM panics when physical memory fills
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 10 16:18:00 2000
>Last-Modified:
>Originator: Tom Spindler
>Organization:
Redback Networks
>Release: <NetBSD-current source date> 28 Jan 2000 release-1-4
>Environment:
System: NetBSD diablo.redback.com 1.4.2_ALPHA NetBSD 1.4.2_ALPHA (EQUITY) #0: Fri Jan 28 13:55:48 PST 2000 dogcow@fartmangler.redback.com:/amd/elvis/build/moofsrc/nb/syssrc/sys/arch/i386/compile/EQUITY i386
>Description:
When our machine with 384M of memory attempts to do things that require
~200M of memory (and possibly not enough physical RAM is availible),
machine panics.
(gdb) target kcore netbsd.0.core
panic: malloc: out of space in kmem_map
#0 0xf013c9a0 in lockmgr_printinfo ()
(gdb) bt
#0 0xf013c9a0 in lockmgr_printinfo ()
#1 0xf020c0df in cpu_reboot ()
#2 0xf0147ff1 in panic ()
#3 0xf013cc4f in malloc ()
#4 0xf01f7f3d in amap_extend ()
#5 0xf01fd760 in uvm_map ()
#6 0xf0205d2e in sys_obreak ()
#7 0xf02132a2 in syscall ()
diablo# ps axww -M netbsd.0.core -N netbsd.0 -ovsz,user,command | grep julu | sort -n | tail
984 julu (bash)
984 julu (bash)
4976 julu (powerpc-eabi-gdb)
5024 julu (powerpc-eabi-gdb)
11364 julu (powerpc-wrs-vxwo)
13960 julu (netscape)
21112 julu (netscape)
34052 julu (powerpc-wrs-vxwo)
34892 julu (powerpc-wrs-vxwo)
139728 julu (powerpc-eabi-ld)
>How-To-Repeat:
Use lots of memory. Watch machine go boom.
I believe that this is related to my previous bug report kern/9313.
NKMEMCLUSTERS was set to 4096, which I'm told should have been more
than enough.
>Fix:
no fix known.
>Audit-Trail:
>Unformatted: