From owner-freebsd-fs@FreeBSD.ORG Tue Oct 4 14:09:48 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9997C106564A for ; Tue, 4 Oct 2011 14:09:48 +0000 (UTC) (envelope-from maurizio.vairani@cloverinformatica.it) Received: from smtplq03.aruba.it (smtplq-out18.aruba.it [62.149.158.38]) by mx1.freebsd.org (Postfix) with SMTP id E4AF68FC08 for ; Tue, 4 Oct 2011 14:09:47 +0000 (UTC) Received: (qmail 29675 invoked by uid 89); 4 Oct 2011 13:43:06 -0000 Received: from unknown (HELO smtp6.aruba.it) (62.149.158.226) by smtplq03.aruba.it with SMTP; 4 Oct 2011 13:43:06 -0000 Received: (qmail 11745 invoked by uid 89); 4 Oct 2011 13:43:06 -0000 Received: from unknown (HELO clover.dyndns.biz) (info@cloverinformatica.it@151.55.87.177) by smtp6.ad.aruba.it with SMTP; 4 Oct 2011 13:43:06 -0000 Received: from [192.168.0.185] ([192.168.0.185]) by clover.dyndns.biz ; Tue, 4 Oct 2011 15:43:06 +0200 Message-ID: <4E8B0D6A.7090009@cloverinformatica.it> Date: Tue, 04 Oct 2011 15:43:06 +0200 From: Maurizio Vairani User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: freebsd-fs@freebsd.org References: <20111003120027.E4FF51065746@hub.freebsd.org> In-Reply-To: <20111003120027.E4FF51065746@hub.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: smtp6.ad.aruba.it 1.6.2 0/1000/N X-Spam-Rating: smtplq03.aruba.it 1.6.2 0/1000/N Subject: Re: is TMPFS still highly experimental? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Oct 2011 14:09:48 -0000 On 03/10/2011 14.00, Attila Nagy wrote: > For me, the bug is still here: > $ uname -a > FreeBSD b 8.2-STABLE FreeBSD 8.2-STABLE #5: Wed Sep 14 15:01:25 CEST > 2011 root@buildervm:/data/usr/obj/data/usr/src/sys/BOOTCLNT amd64 > $ df -h /tmp > Filesystem Size Used Avail Capacity Mounted on > tmpfs 0B 0B 0B 100% /tmp > > I have no swap configured. The machine has 64 GB RAM. > vm.kmem_size=60G; vfs.zfs.arc_max=55G; vfs.zfs.arc_min=20G I had the same problem with 8G of swap and 16G of RAM. After adding 20G of swap space, TMPFS works, at least from yesterday. [ssh@clover-nas ~]$ swapinfo -h Device 1K-blocks Used Avail Capacity /dev/zvol/pool500gb/swap 20971520 7.0M 20G 0% /dev/gpt/SWAP-BIS 4194304 4.7M 4.0G 0% /dev/gpt/SWAP 4194304 4.7M 4.0G 0% Total 29360128 16M 28G 0% [ssh@clover-nas ~]$ Why TMPFS reports only 15G of free memory when there are more than 28G free (RAM + swap) ? [ssh@clover-nas ~]$ df -h /tmp Filesystem Size Used Avail Capacity Mounted on tmpfs 15G 12K 15G 0% /tmp [ssh@clover-nas ~]$ top -b last pid: 10895; load averages: 0.27, 0.26, 0.22 up 26+02:28:18 15:03:37 112 processes: 1 running, 110 sleeping, 1 zombie Mem: 19M Active, 262M Inact, 15G Wired, 66M Buf, 679M Free Swap: 28G Total, 16M Used, 28G Free Maurizio P.S. FreeBSD 8.2-RELEASE-p3.