ZFS memory use (arc limit)

Shane Ambler FreeBSD at ShaneWare.Biz
Tue Mar 12 22:47:31 UTC 2019


On 28/2/19 7:27 pm, Ruben wrote:
> Hi,
> 
> On 2/27/19 11:29 PM, Miroslav Lachman wrote:
> 
> Stuff snipped
> 
>> I have the very same experience as you. On ZFS on FreeBSD from the
>> beginning, installed new machine 11.2 amd64 and try not to limit the
>> ARC max. Just running rsync over the remote server to replicate data
>> to new machine causes many processes to get killed. Even ssh was killed!
>>
>> https://lists.freebsd.org/pipermail/freebsd-fs/2019-February/027280.html
>>
> 
> More stuff snipped.
> 
> It might be worth checking out this report:
> 
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231457
> 
> Perhaps your experiences have been induced by the OOM killer.

This is my related report -
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229764

While max_wired is 30% ram, arc_max should not be more than 70% of ram.

ARC memory is wired, there is also another pool of wired memory and the
two values do not appear to be combined in any checking, which allows
more than all physical ram to be wired.

Wired ram cannot be swapped, when all physical ram is wired we get out
of swap errors when there is swap space available.


-- 
FreeBSD - the place to B...Storing Data

Shane Ambler



More information about the freebsd-fs mailing list