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

[email protected] Sat, 20 Jun 2026 14:00:26 +0000
Newsgroups gmane.os.freebsd.devel.standards
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D296166

            Bug ID: 296166
           Summary: Warning: sysctl vfs.zfs.arc_max is deprecated
           Product: Base System
           Version: 14.4-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: standards
          Assignee: [email protected]
          Reporter: [email protected]

FreeBSD version
---------------

14.4-RELEASE-p6

Issue
-----

I just realised that I have the following warning in dmesg:
WARNING: sysctl vfs.zfs.arc_max is deprecated. Use vfs.zfs.arc.max instead.

Due to the above warning, I updated the parameter in /boot/loader.conf to u=
se
the latest parameter (changed from vfs.zfs.arc_max to vfs.zfs.arc.max) and =
then
reboot the server. However I still have the same warning after reboot (WARN=
ING:
sysctl vfs.zfs.arc_max is deprecated. Use vfs.zfs.arc.max instead).

I checked the sysctl parameter setting, and surprisingly my system have both
parameters active:

[19:19]root@nas:~ # sysctl vfs.zfs.arc.max
vfs.zfs.arc.max: 15032385536
[19:19]root@nas:~ # sysctl vfs.zfs.arc_max
vfs.zfs.arc_max: 15032385536

There is no other config files in my system that have the deprecated
"vfs.zfs.arc_max" parameter, so I wonder what caused the warning message du=
ring
boot.

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