Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jun 2026 22:38:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 296166] Warning: sysctl vfs.zfs.arc_max is deprecated
Message-ID:  <bug-296166-227-dN3DPFiqNj@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-296166-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296166

--- Comment #1 from Jose Luis Duran <jlduran@FreeBSD.org> ---
Just as a reference, this waring was MFC'd to stable/14 in
fdf8dc1a01a603cbd1f9349068e43c7d8c609969.

Having both vfs.zfs.arc.max and vfs.zfs.arc_max is expected, as the latter is
kept as a deprecated compatibility alias.  The warning is emitted when
something accesses the deprecated sysctl, not because the alias exists.

There are no remaining references to vfs.zfs.arc_max in 14.4 (aside from an
unrelated ZFS test), so something on your system is likely still querying the
old name during boot.

At this point, I'd suggest increasing the boot verbosity[^1] (or enabling debug
output[^2]) to identify what is triggering the lookup.  It may also be worth
checking any third-party startup scripts or monitoring tools that query ZFS ARC
statistics.

[^1]: Add to /boot/loader.conf: boot_verbose="YES"
[^2]: Add to /etc/rc.conf: rc_info="YES" and rc_debug="YES"

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-296166-227-dN3DPFiqNj>