tmpfs is zero bytes (no free space), maybe a zfs bug?

Ivan Voras ivoras at freebsd.org
Wed Jan 19 10:39:54 UTC 2011


On 19/01/2011 11:09, Attila Nagy wrote:
> On 01/19/11 09:46, Jeremy Chadwick wrote:
>> On Wed, Jan 19, 2011 at 09:37:35AM +0100, Attila Nagy wrote:
>>> I first noticed this problem on machines with more memory (32GB
>>> eg.), but now it happens on 4G machines too:
>>> tmpfs 0B 0B 0B
>>> 100% /tmp
>>> FreeBSD builder 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #0: Sat Jan 8
>>> 22:11:54 CET 2011
>>>
>>> Maybe it's related, that I use zfs on these machines...
>>>
>>> Sometimes it grows and shrinks, but generally there is no space even
>>> for a small file, or a socket to create.
>> http://lists.freebsd.org/pipermail/freebsd-stable/2011-January/060867.html
>>
>>
> Oh crap. :(
>
> I hope somebody can find the time to look into this, it's pretty
> annoying...

http://people.freebsd.org/~ivoras/diffs/tmpfs.h.patch

I don't think this is a complete solution but it's a start. If you can, 
try it and see if it helps.




More information about the freebsd-stable mailing list