Hi,

I found when we exhaust memory, tmpfs will not be able to write
anything into it and cannot mount it.
I use ZFS and TMPFS at the same time.

Florence# cd /usr/src && make buildworld > /dev/null &
Florence# uname -a
FreeBSD Florence.tamama.org 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #5:
Mon May  5 00:36:32 CST 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/KERNEL  amd64
Florence# mount -t tmpfs -o rw,size=1024000 tmpfs /tmp/tmpfs
mount: tmpfs : No space left on device

first 5 lines of top:

last pid: 26893;  load averages:  1.50,  1.58,  1.48
    up 12+01:43:49  05:40:51
146 processes: 2 running, 144 sleeping
CPU states:     % user,     % nice,     % system,     % interrupt,     % idle
Mem: 406M Active, 574M Inact, 1775M Wired, 83M Cache, 214M Buf, 126M Free
Swap: 1024M Total, 1024M Free


I think there should be a "lower bound" size limit. Does TMPFS use
kernel-space memory?
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to