Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jun 2008 05:43:30 +0800
From:      "Lin Jui-Nan Eric" <ericlin@tamama.org>
To:        stable@freebsd.org
Subject:   TMPFS: File System is Full
Message-ID:  <47713ee10806061443v3e44576am2facb75df031f47e@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47713ee10806061443v3e44576am2facb75df031f47e>