Proxmox 8.3 memory management

deepakk

New Member
Feb 12, 2024
3
0
1
Hi,

I've spin the 2 VM with configure of max 40GB and underlying hardware memory is also 40 GB. Unfortunately the power on vm getting powered off and vice-versa. Is there any option to avoid such scenario. I've installed the balloon driver as well but memory didn't release properly.

Since it is lab, I don't own sophisticated hardware configure. Is there the tweak that can be done to run parallelly?
 
You don't provide any details about your setup - but in principle you cannot use ALL the RAM of the server on the VM's - ballooning is not going to solve that. IDW what RAM your server requires, but just lower the allocated RAM on those VMs until that server is content. If you really need those 40GB in the VM - you must add more RAM to the server. Generally RAM is not all that expensive these days (IDW what RAM you use) - go treat yourself to some more.
 
Thanks for your response @gfngfn256 . I'm currently using the R740 hardware with 40 GB RAM, trying to spin two virtual machine of 40 GB each unfortunately only one vm is active at the time. I've reduce the Guest RAM size to 20 each it works, I thought proxmox will provide the overcommit on both CPU/RAM as similar to vmware esx.

Is there way to notify the users that insufficient resource available on the underlying host instead of powering off the running vm?
 
Last edited:
Is there way to notify the users that insufficient resource available on the underlying host instead of powering off the running vm?
Not sure when you want that notification to happen. If you mean users of the VM, then its already too late, as an OOM situation has probably already been met. If you mean within the PVE setup while configuring, well there are many ways to skin a chicken & sometimes over commitment works depending on the use case (host/vms load, RAM usage etc.). Although in general I agree that maybe some warning/notification (GUI?) would be useful. If you want to be notified that a VM has gone down, there are ways of setting up a monitoring service to do this.

You can search this forum for good memory practices within PVE. (Try & search using your system as a guideline, e.g. if you use ZFS lookup that as ZFS has its own memory requirements host-side).

On the whole I find Proxmox resource/memory management to be very good.
 
  • Like
Reactions: deepakk

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!