[SOLVED] Limit ZFS memory

tonycav

Member
Oct 4, 2022
91
4
13
Hello, this is my situation now,
can I limit memory with this command?

nano /etc/modprobe.d/zfs.conf

options zfs zfs_arc_max=4294967296

Do I also need to specify the minimum amount of memory usage? 2GB?

Thank you for your time



Schermata 2024-02-01 alle 14.56.55.png

Schermata 2024-02-01 alle 15.00.00.png
 
Hello, this is my situation now,
can I limit memory with this command?

nano /etc/modprobe.d/zfs.conf

options zfs zfs_arc_max=4294967296
Yes, see also the manual: https://pve.proxmox.com/pve-docs/pve-admin-guide.html#sysadmin_zfs_limit_memory_usage
Do I also need to specify the minimum amount of memory usage? 2GB?
Maybe when your minimum is less than the default minimum of 25%, it might be needed. It cannot hurt, so please do.
Please stop using kernel version 6.2. It has not gotten updates because Proxmox moved to kernel version 6.5.
 
Thanks for the reply, tonight I will update the system and give the command and let you know if I solved it
 
Hello,
I definitely solved it

I'm currently running 3VM
- Windows Server 2019 (8GB)
- Windows 10 PRO 12GB
- OMV (4GB)
I updated the kernel to 6.5 and I ran these commands

nano /etc/modprobe.d/zfs.conf

options zfs zfs_arc_min=2147483648
options zfs zfs_arc_max=4294967296


then update-initramfs -u

After rebooting the system, here is the result

Schermata 2024-02-02 alle 08.55.51.png


Schermata 2024-02-02 alle 08.56.28.png


Many thanks for the support received :)