Is posible show if openstack is overcommitting memory in a virtual machine only from OS?

613 Views Asked by At

How could I know from Operating System in a Virtual Machine if ram memory is being overcommited by Openstack hypervisor?

My app is being killed by the operating system cause Out of Memory error, but I have configured the heap and meta space under 70% of the total available ram.

I have no access to the openstack configuration.

Thanks in advance.

2

There are 2 best solutions below

2
mrhillsman On

Unfortunately you cannot know the details of OpenStack overcommit if you do not have access to the OpenStack configuration or environment directly (root/admin privileges).

Your VM is seen as a "standalone" server/node to itself and you therefore you will need to request this information from whoever is hosting/operating the OpenStack install.

1
Mohit P On

If you have the access of compute nodes , then you can check nova.conf file with param ram_allocation_ratio , else there is no way to find the info you are looking for until you have the access of compute nodes.