[SOLVED] Ballooning memory: How to retrieve the max ram allowed from the guest OS?

lifeboy

Renowned Member
renderTimingPixel.png

Scenario: Centos Guest OS with 8GB/24GB RAM as min/max allocated. The machine typically uses between 10GB and 12GB of the allowed RAM due to ballooning, but here's a problem: Using free -h shows only 14GB in total available. Can't find anything else that shows the 24GB max allowed.

There are some software alarms (outside of out control) that get triggered at 50 / 70 and 80% RAM usage, so 12/24 triggers this alarm. Of course it should not, since it's actually 12/24, which is 50%.

How can the guest OS check how much RAM is allowed?
 

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!