FreeBSD 6.0 panic: kmem_malloc(16384): kmem_map too small: 172728320 total allocated

Gleb Smirnoff glebius at FreeBSD.org
Wed Dec 14 05:19:02 PST 2005


On Wed, Dec 14, 2005 at 01:25:30PM +0100, Fabian Keil wrote:
F> I triggered a few reproducible panics on FreeBSD 6.0-STABLE.
F> 
F> I created a ramdisk with:
F>  
F>         /sbin/mdconfig -a -t malloc -s 256M -u 10
F>         /sbin/newfs -U /dev/md10
F>         /sbin/mount /dev/md10 /mnt/ramdisk
F> 
F> The system has "avail memory = 515932160 (492 MB)"
F> and 1GB swap space.
F> 
F> While copying to /mnt/ramdisk trough ftp localhost
F> it got:

This usually exposes some memory leak in kernel. Can you please do the
following - copy some amount of data to /mnt/ramdisk trough ftp localhost,
and cancel the operation before it panics.

Then run vmstat -m and vmstat -z, to determine what kind of memory allocation
is leaking.


-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE


More information about the freebsd-stable mailing list