From owner-freebsd-stable@FreeBSD.ORG Wed Dec 14 13:19:01 2005 Return-Path: X-Original-To: freebsd-stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E33C916A41F for ; Wed, 14 Dec 2005 13:19:01 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 297C843D46 for ; Wed, 14 Dec 2005 13:19:00 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.3/8.13.3) with ESMTP id jBEDItKq076391 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 14 Dec 2005 16:18:55 +0300 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.3/8.13.1/Submit) id jBEDItso076390; Wed, 14 Dec 2005 16:18:55 +0300 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Wed, 14 Dec 2005 16:18:55 +0300 From: Gleb Smirnoff To: Fabian Keil Message-ID: <20051214131855.GH59644@FreeBSD.org> References: <20051214132530.3b6daecd@TP51.local> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20051214132530.3b6daecd@TP51.local> User-Agent: Mutt/1.5.6i Cc: freebsd-stable@FreeBSD.org Subject: Re: FreeBSD 6.0 panic: kmem_malloc(16384): kmem_map too small: 172728320 total allocated X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2005 13:19:02 -0000 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