From owner-freebsd-stable@FreeBSD.ORG Fri Jun 6 21:43:31 2008 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0198F1065677 for ; Fri, 6 Jun 2008 21:43:31 +0000 (UTC) (envelope-from ericlin@tamama.org) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.228]) by mx1.freebsd.org (Postfix) with ESMTP id EAFDA8FC15 for ; Fri, 6 Jun 2008 21:43:30 +0000 (UTC) (envelope-from ericlin@tamama.org) Received: by rv-out-0506.google.com with SMTP id b25so1646673rvf.43 for ; Fri, 06 Jun 2008 14:43:30 -0700 (PDT) Received: by 10.140.248.17 with SMTP id v17mr396919rvh.9.1212788610655; Fri, 06 Jun 2008 14:43:30 -0700 (PDT) Received: by 10.141.69.19 with HTTP; Fri, 6 Jun 2008 14:43:30 -0700 (PDT) Message-ID: <47713ee10806061443v3e44576am2facb75df031f47e@mail.gmail.com> Date: Sat, 7 Jun 2008 05:43:30 +0800 From: "Lin Jui-Nan Eric" To: stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: TMPFS: File System is Full X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 06 Jun 2008 21:43:31 -0000 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?