Memory usage accuracy has never been accurate and I still cannot find why after many years

BloodyIron

Renowned Member
Jan 14, 2013
296
26
93
it.lanified.com
I'm rocking PVE v8.2.7 in my cluster, and I've upgraded it in-place since v2.3, and in all this time (over a decade?) I have almost never found the "Memory usage" metric at the webGUI scope of VMs to be accurate.

I namely run Linux VMs, but even for Windows, FreeBSD, whatever, it's _never_ accurate.

I just built six new Ubuntu 24.04 VMs from scratch, and qemu-guest-agent is installed and started, but the numbers are still insanely off.

Here's just one example.

I'm looking at htop right now in one of the fresh nodes, it's doing literally nothing that isn't on by default in a fresh install.

PVE webGUI would have me believe it's using 6.45GB/8GB (RAM), except it's using ... 500MB/8GB. And yes, that's accounting for Linux kernel caching.

I genuinely do not understand how the PVE environment gets these metrics so egregiously off the mark. It's been like that for VMs I've been running and upgrading for many years, in addition to brand-spanking-new-sparkly-VMs. And I think this really warrants discussion here because I'm pretty sure this has been bug reported plenty of times before on Proxmox's Bugzilla. I'd rather not open yet another bug report that won't get this problem sorted.

Can we PLEASE get accurate "Memory usage" metrics in the webGUI already? What's it going to take?
 

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!