Date: Fri, 3 May 2024 13:40:36 -0700 From: Jim Long <freebsd-questions@umpquanet.com> To: mike tancsa <mike@sentex.net> Cc: freebsd-questions@freebsd.org Subject: Re: Unable to limit memory consumption with vfs.zfs.arc_max Message-ID: <ZjVLxKH5LDBZjakR@sfo.umpquanet.com> In-Reply-To: <4299f196-1fbe-4590-8668-d023d7044e8d@sentex.net> References: <ZjUYzdiz01GgnbX/@sfo.umpquanet.com> <4299f196-1fbe-4590-8668-d023d7044e8d@sentex.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Thank you, Mike. It looks like they're both getting set, so sadly no progress, but I have updated my sysctl.conf to keep up with the times. Jim # sysctl -a | grep vfs.*arc.max vfs.zfs.arc_max: 4294967296 vfs.zfs.arc.max: 4294967296 # grep vfs.*arc.max /etc/sysctl.conf #vfs.zfs.arc_max=4294967296 vfs.zfs.arc.max=4294967296 On Fri, May 03, 2024 at 01:08:44PM -0400, mike tancsa wrote: > 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?ZjVLxKH5LDBZjakR>