Memory usage of the Proxmox itself

arthurhugo

New Member
Jul 26, 2008
13
0
1
The Proxmox host systems use around 0.5 to 1.5 GB, this varies greatly over time. Is there a way to limit this? I need the memory for the OpenVZ virtual machines and if I overbook the memory, for example I set a VM to 15.5 GB on a 16 GB machine, I get memory allocation errors in the VM.
 
The Proxmox host systems use around 0.5 to 1.5 GB, this varies greatly over time. Is there a way to limit this? I need the memory for the OpenVZ virtual machines and if I overbook the memory, for example I set a VM to 15.5 GB on a 16 GB machine, I get memory allocation errors in the VM.

How do you check host's memory usage?
 
At the system status for a node in the Proxmox webinterface.
It states "Physical Memory (15.67GB/1.54GB)" and a OpenVZ VM is taking up 12GB so the 15.67GB free memory isn't correct but the 1.54GB sounds plausible for the memory used by the host environment. I'm not running any KVM VM's.
 
Try to run

# ps auxww

to see which processes are using the ram.

But anyways, it is not possible to limit host ram. But there is a solution to your problem - buy more RAM ;-)
 
For the machine I am using, it appeared that the memory problem was a case of
root 6665 0.0 88.4 4252408 1701184 ? Sl 09:45 0:00 /usr/sbin/rsyslogd -c3
Decided to change loggers to sysklogd/klogd, and memory usage for the logger became
root 6952 0.0 0.0 3804 440 ? Ss 09:55 0:00 /sbin/klogd -x
root 7013 0.0 0.0 5908 668 ? Ss 09:55 0:00 /sbin/syslogd

Going to "power off" the VMs and reboot to make sure I didn't break anything, but greater than 1.5Gb of memory used for just the logger seems... broken.
 

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!