Re: Unable to limit memory consumption with vfs.zfs.arc_max

From: ax disroo <ax61_at_disroot.org>
Date: Tue, 16 Jul 2024 09:35:22 UTC
> On Jul 15, 2024, at 11:36 AM, Jim Long wrote:
…
> The ARC used frequently sails right past
> the 4G limit.  It seems the daily periodic job is one task which can
> push the kernel to violate the vfs.zfs.arc_max limitation.
…

Have you tried these MIBs (set in loader.conf(5) or via sysctl(8), check that) …

- vfs.zfs.arc.free_target: Desired number of free pages below which ARC triggers reclaim;

- vfs.zfs.arc.sys_free https://openzfs.github.io/openzfs-docs/Performance%20and%20Tuning/Module%20Parameters.html#zfs-arc-sys-free

… ?

- Anubhav