5.3: tmpmfs="YES": panic: kmem_malloc(4096): kmem_map too small:
63737856 total allocated
ls+lists.freebsd.org.mailman.listinfo.freebsd-stable93930659 at gambit.com.ru
ls+lists.freebsd.org.mailman.listinfo.freebsd-stable93930659 at gambit.com.ru
Fri Nov 5 03:08:32 PST 2004
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
More information about the freebsd-stable
mailing list