Appearance
ZFS ARC Memory management in Proxmox
- Use Nano or Vim editor in a file called
/etc/modprobe.d/zfs.conf. - Add two following lines inside the file:
Max is 24 GB and Min is 8 GB in bytes.shoptions zfs zfs_arc_max=25769803776 options zfs zfs_arc_min=8589934592 - Save and reboot!
- (Optional) - Echo the following lines if you do not wish to reboot:sh
echo 25769803776>> /sys/module/zfs/parameters/zfs_arc_max echo 8589934592>> /sys/module/zfs/parameters/zfs_arc_min
Source: https://forum.proxmox.com/threads/disable-zfs-arc-or-limiting-it.77845/#post-345933
