abnormal (17GB!) RAM usage on idle (ZFS ARC capped at 2GB)

fproverbio

New Member
Dec 24, 2023
2
0
1
Hi everyone, i'm having issues with abnormally high RAM usage from boot. My server has 32GB of total memory and i'm autostarting 4 lxcs with about 2.5Gb of total ram use. ZFS arc is configured to 2GB as per:
Code:
options zfs zfs_arc_max=2147483648

and is verified by issuing

Code:
root@neuromancer:~# cat /sys/module/zfs/parameters/zfs_arc_max
2147483648
The issue arises when i start a W10 VM with hugepages and 16GB of RAM allocated. Right after starting the VM it gets killed by the OOM daemon due to the 17GB ram offset from boot. The issue started when i uninstalled the currently beta 6.11 kernel in favor of the more stable 6.8.12.

1732564288090.png
How can i troubleshoot this?
 
Hello,

Could you please post the output of

Code:
arc_summary

before starting the W10 VM and right after (but before the VM gets killed by OOM)?

That will tell us if indeed, the memory is being used by the arc.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!