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

From: mike tancsa <mike_at_sentex.net>
Date: Fri, 03 May 2024 17:08:44 UTC
On 5/3/2024 1:03 PM, Jim Long wrote:
> I'm attempting to limit vfs.zfs.arc_max to 4294967296 (4G) in
> /etc/sysctl:
> kern.maxvnodes=1000000
> vfs.zfs.arc_max=4294967296
>
> # sysctl vfs.zfs.arc_max
> vfs.zfs.arc_max: 4294967296

Not sure if it makes a difference or not, but maybe try

vfs.zfs.arc.max
vs
vfs.zfs.arc_max ?

vfs.zfs.arc_max: Maximum ARC size in bytes (LEGACY)
vfs.zfs.arc.max: Maximum ARC size in bytes

     ---Mike