Proxmox Memory Usage

janvv

Active Member
Jun 21, 2020
64
12
28
67
52.24154182722349, 5.117853866801705
The Proxmox dashboard says almost 80% of the memory is used.
I checked that it adds up the max memory of the virtual machines and containers. That's about 50Gb in total.
When I add up the real memory usage (like the 111Mb of my media server), then the total is around 20Gb.

I am wondering what Proxmox actually does. Is it allocating all memory that I defined for the machines? When I check the `free` command on the server, it looks like that.
That would mean I still have 12Gb for new VMs instead of the 32Gb that is still available when looking at the actual memory usage.


1741085129004.png1741085182751.png1741085564944.png
 

Attachments

  • 1741085455576.png
    1741085455576.png
    38.6 KB · Views: 1
The Host doesn't know how much RAM is actually used by the guests, RAM allocated to a guest can't be used otherwise normally ( there are some exceptions see https://pve.proxmox.com/wiki/Dynamic_Memory_Management )

To actually know how much ram is used by the guest you will need to deploy a monitoring Tool like checkmk, icinga2, zabbix or prometheus.

If the monitoring shows thst a guest actually don't need that much ram, you can change the ram size in the vm config.

See also:


Please also note, that it's normal for Linux to use RAM for Caches since unused RAM is wasted:

https://www.linuxatemyram.com/
 
Last edited:
  • Like
Reactions: leesteken