Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Oct 2011 15:43:06 +0200
From:      Maurizio Vairani <maurizio.vairani@cloverinformatica.it>
To:        freebsd-fs@freebsd.org
Subject:   Re: is TMPFS still highly experimental?
Message-ID:  <4E8B0D6A.7090009@cloverinformatica.it>
In-Reply-To: <20111003120027.E4FF51065746@hub.freebsd.org>
References:  <20111003120027.E4FF51065746@hub.freebsd.org>

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





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