With ARC limits specified in /etc/zfs/zsysctl.conf, it appears that they are not loaded at start up correctly. Inspected with sysctl kstat | grep arc_max, the values are 0 after start up.
My system is a MacBook Pro 15-inch 2018 model, running the Catalina 10.15.7 (the latest). ZFS version is 1.9.4-0 (also the latest release.)
The log file is empty on my system: /private/var/log/org.openzfsonosx.zconfigd.log
The error log file has the following
$ cat /private/var/log/org.openzfsonosx.zconfigd.err
Looking for service matching net_lundman_zfs_zvol
Starting the run loop
Found match
Running /usr/local/bin/zsysctl -f /etc/zfs/zsysctl.conf
top level name kstat in kstat.zfs.darwin.tunable.zfs_arc_max is invalid
Looking for service matching net_lundman_zfs_zvol
Starting the run loop
Found match
Running /usr/local/bin/zsysctl -f /etc/zfs/zsysctl.conf
top level name kstat in kstat.zfs.darwin.tunable.zfs_arc_max is invalid
Looking for service matching net_lundman_zfs_zvol
Starting the run loop
Found match
Running /usr/local/bin/zsysctl -f /etc/zfs/zsysctl.conf
top level name kstat in kstat.zfs.darwin.tunable.zfs_arc_max is invalid
top level name kstat in kstat.zfs.darwin.tunable.zfs_arc_meta_limit is invalid
I manually replayed the call /usr/local/bin/zsysctl -f /etc/zfs/zsysctl.conf since the above error shows it. It went through ok. Console logs below.
With ARC limits specified in
/etc/zfs/zsysctl.conf
, it appears that they are not loaded at start up correctly. Inspected withsysctl kstat | grep arc_max
, the values are 0 after start up.My system is a MacBook Pro 15-inch 2018 model, running the Catalina 10.15.7 (the latest). ZFS version is 1.9.4-0 (also the latest release.)
My
/etc/zfs/zsysctl.conf
has the following definition. (I read the Memory utilization wiki page)The log file is empty on my system:
/private/var/log/org.openzfsonosx.zconfigd.log
The error log file has the following
I manually replayed the call
/usr/local/bin/zsysctl -f /etc/zfs/zsysctl.conf
since the above error shows it. It went through ok. Console logs below.Now it confuses me why isn't that file loaded correctly at start up. I'd appreciate any help on how to troubleshoot this issue. Thanks!
(I was suspecting a race condition somewhere such that it got called too early, but i don't know how to investigate that)