From owner-freebsd-stable@FreeBSD.ORG Fri Nov 5 11:08:32 2004 Return-Path: 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 B2E6316A4CE for ; Fri, 5 Nov 2004 11:08:32 +0000 (GMT) Received: from peru.gambit.com.ru (peru.gambit.com.ru [194.190.206.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDF0343D1D for ; Fri, 5 Nov 2004 11:08:31 +0000 (GMT) ls+lists.freebsd.org.mailman.listinfo.freebsd-stable93930659@gambit.com.ru) Received: from zen.intranet (unknown [194.190.206.175]) by peru.gambit.com.ru (Postfix) with ESMTP id 23E7C2EE08 for ; Fri, 5 Nov 2004 14:08:30 +0300 (MSK) Received: by zen.intranet (Postfix, from userid 441) id 0D782164E67; Fri, 5 Nov 2004 14:08:30 +0300 (MSK) Date: Fri, 5 Nov 2004 14:08:30 +0300 From: ls+lists.freebsd.org.mailman.listinfo.freebsd-stable93930659@gambit.com.ru To: freebsd-stable@freebsd.org Message-ID: <20041105110830.GP58031@gambit.com.ru> Mail-Followup-To: freebsd-stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i Subject: 5.3: tmpmfs="YES": panic: kmem_malloc(4096): kmem_map too small: 63737856 total allocated X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2004 11:08:32 -0000 I'm using > uname -v FreeBSD 5.3-STABLE #0: Sun Oct 31 04:03:03 UTC 2004 Want to use /tmp in memory: > grep tmp /etc/rc.conf tmpmfs="YES" tmpsize="384m" Using swap space, not just RAM: > diff -u /usr/src/etc/rc.d/initdiskless /etc/rc.d/initdiskless --- /usr/src/etc/rc.d/initdiskless Sun Oct 10 13:50:53 2004 +++ /etc/rc.d/initdiskless Mon Oct 25 15:20:01 2004 @@ -149,7 +149,7 @@ # Create a generic memory disk # mount_md() { - /sbin/mdmfs -i 4096 -s $1 -M md $2 + /sbin/mdmfs -i 4096 -s $1 md $2 } # Create the memory filesystem if it has not already been created But I'm still getting panic sometimes when trying to untar data to /tmp: > dmesg | grep -A 3 panic panic: kmem_malloc(4096): kmem_map too small: 63737856 total allocated Uptime: 1d23h53m0s Cannot dump. No dump device defined. Shutting down ACPI This host has 192 MB of RAM: > dmesg | grep memory real memory = 199753728 (190 MB) avail memory = 189919232 (181 MB) And 512 MB of swap: > swapinfo -k Device 1K-blocks Used Avail Capacity /dev/ad0s1b 524288 17412 506876 3% Is it a feature or a bug^Wproblem? -- 14:08 up 2 days, 3:04, 0 users, load averages: 0,00 0,02 0,00