TMPFS: File System is Full

[ Available lists | Index of freebsd-stable | Month of Jun 2008 | Week of 7 Jun 2008 | Raw email | Wrap long lines | Reply | Tag ]
From
Lin Jui-Nan Eric <ericlin@tamama.org>
Date
7 Jun 2008 05:13:14
Subject
TMPFS: File System is Full
Message-ID
47713ee10806062148l4a4c4550hcd8c70a422343c2a@mail.gmail.com

In reply to
References to
Replies
Referenced by

[ Hide this part ]
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
root@Florence.tamama.org:/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?


Elapsed time: 0.423 seconds