Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 May 2024 13:08:44 -0400
From:      mike tancsa <mike@sentex.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Unable to limit memory consumption with vfs.zfs.arc_max
Message-ID:  <4299f196-1fbe-4590-8668-d023d7044e8d@sentex.net>
In-Reply-To: <ZjUYzdiz01GgnbX/@sfo.umpquanet.com>
References:  <ZjUYzdiz01GgnbX/@sfo.umpquanet.com>

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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4299f196-1fbe-4590-8668-d023d7044e8d>