[Bug 296166] Warning: sysctl vfs.zfs.arc_max is deprecated

[email protected]
Newsgroups gmane.os.freebsd.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296166

--- Comment #1 from Jose Luis Duran <[email protected]> ---
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.