Dear FreeBSD Bugzilla community, I'm having some kernel panics on one production server after updating FreeBSD from 10.3-RELEASE to 10.4-RELEASE. I noticed that vfs.zfs.compressed_arc_enabled appeared in 10.4-RELEASE, and this feature make FreeBSD unstable in our VMware ESXi 6.0 environment. We had some issues with 11.x in the past, and as a workaround, we switched back to 10.3-RELEASE. More details in this thread I opened in the community forum: https://forums.freebsd.org/threads/kernel-panic-after-upgrading-to-11-1.62499/ I tried to set: vfs.zfs.compressed_arc_enabled="0" in /boot/loader.conf but the parameter keeps "1" after reboot. I tried the same on a fresh 11.2-RELEASE server and the configuration was successful. Can we have a look at this? Thanks!
Just tested this on 11.2-RELEASE-p3 and setting to zero in loader.conf works fine: grep compressed_arc_enabled /boot/loader.conf vfs.zfs.compressed_arc_enabled="0" sysctl vfs.zfs.compressed_arc_enabled vfs.zfs.compressed_arc_enabled: 0 Please check you don't have a syntax error in your loader.conf
Hi Steven! You're right, this works on 11.2-RELEASE. I'm having trouble setting on 10.4-RELEASE. More specifically, 10.4-RELEASE-p12, which is the version our 10.3-RELEASE box was updated to. I've successfully reproduced this with offical AWS Marketplace images too, works with 11.2-RELEASE-p3 but not with 10.4-RELEASE-p12. Thanks!
Created attachment 197509 [details] Adds missing vfs.zfs.compressed_arc_enabled tunable Confirmed looks like an issue with the change when it was back ported to 10.4 which doesn't support CTLFLAG_xxTUN flags to enable tunables it needs manually adding with a TUNABLE_xxx call. Patch attached.
Hi Steven, I've successfully tested the patch on 10.4-RELEASE-p12. Changed the file then rebuilt world and kernel. I believe we can close this, Thanks!
Closing as requested! =-)