Can't seem to be able to limit ZFS RAM usage (ARC)

Ovidiu

Renowned Member
Apr 27, 2014
326
13
83
Freshly installed Proxmox 4.2 with a 2 HD mirror using ZFS for root

I'm following this instruction: https://pve.proxmox.com/wiki/Storage:_ZFS#Limit_ZFS_memory_usage

edited: /etc/modprobe.d/zfs.conf
inserted: options zfs zfs_arc_max=8589934592
ran: update-initramfs -u
rebooted

Code:
arcstat.py
    time  read  miss  miss%  dmis  dm%  pmis  pm%  mmis  mm%  arcsz     c
11:07:46     0     0      0     0    0     0    0     0    0   120M   15G

Code:
ARC Size:                               0.75%   120.60  MiB
        Target Size: (Adaptive)         100.00% 15.70   GiB
        Min Size (Hard Limit):          0.20%   32.00   MiB
        Max Size (High Water):          502:1   15.70   GiB


having 32Gb of RAm and arc still uses 15GB so my settings are being ignored.