Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Dec 2005 16:18:55 +0300
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        Fabian Keil <freebsd-listen@fabiankeil.de>
Cc:        freebsd-stable@FreeBSD.org
Subject:   Re: FreeBSD 6.0 panic: kmem_malloc(16384): kmem_map too small: 172728320 total allocated
Message-ID:  <20051214131855.GH59644@FreeBSD.org>
In-Reply-To: <20051214132530.3b6daecd@TP51.local>
References:  <20051214132530.3b6daecd@TP51.local>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051214131855.GH59644>