User avatar
Hugo | DevOps | Cybersecurity @hugovalters@mastodon.social
1d
Your Proxmox host shows 95% RAM used but VMs only need 8GB. ZFS ARC is eating the rest. Learn to cap it so your VMs don't crash.

www.valtersit.com/guides/databases/proxmox-zfs-arc-why-your-hypervisor-is-starving-vms-of-memory/
1
0
0
0
User avatar
WestFox35 @westfox35@wcgw.art
11h
@hugovalters Unless you're on a turtle you should be fine regardless.

Last I checked ZFS arc only used 50% of RAM. So, if you have 32GB you would have 16GB free. Plenty for your 8GB of VMs.

Now if you have 16GB RAM that... could be problematic.
1
0
0
0
User avatar
Hugo | DevOps | Cybersecurity @hugovalters@mastodon.social
10h
@westfox35 On paper, that math makes total sense! And you're right, OpenZFS defaults to 50% max. The hidden trap in production is allocation lag. When a VM suddenly demands physical memory pages, ZFS doesn't always prune the ARC fast enough to hand them over. The Linux kernel panics under that instant pressure, wakes up the OOM killer, and typically murders the largest user-space process (the VM) because it can't kill the kernel-level ZFS cache. That's why hard-limiting is a safety net!
1
0
1
0
User avatar
WestFox35 @westfox35@wcgw.art
10h
@hugovalters Welp. Today I learned.

Thanks for the info!
1
0
1
0

User avatar
Hugo | DevOps | Cybersecurity @hugovalters@mastodon.social
9h
@westfox35 Glad it was helpful!
0
0
1
0