Skip to content

ZFS ARC Memory management in Proxmox

  1. Use Nano or Vim editor in a file called /etc/modprobe.d/zfs.conf.
  2. Add two following lines inside the file:
    Max is 24 GB and Min is 8 GB in bytes.
    sh
    options zfs zfs_arc_max=25769803776
    options zfs zfs_arc_min=8589934592
  3. Save and reboot!
  4. (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