VM out of memory causing load on Ceph.

watnow101

Active Member
Apr 9, 2018
15
0
41
42
Hi.

I am currently facing the following problem.

I have a couple of VM's with 1 Core CPU and 1GB RAM allocated to them. After a software upgrade on it the 1GB RAM is not sufficient maxing out the RAM. This causes high CPU usage from the kswap0 process.

The CPU utilization then spikes to between 200 and 300% when I look on the summary of the VM, which over utilize the allocated CPU. (I have fixed this by setting cpu limit to the same as the allocated cores and looks like it mitigates the problem.)

When the CPU spikes to 200 - 300%(see attached "VMCPULoad.png" because of no available RAM left, causes very high load on CEPH(see attached VMRead.png)

When this happens and the VM has this high read rate causes Ceph Read IOPS on the cluster to ramp up to between 3 000 and 20 000.
 

Attachments

  • VMRead.png
    VMRead.png
    23.8 KB · Views: 5
  • VMCPULoad.png
    VMCPULoad.png
    25.7 KB · Views: 5
  • ceph.png
    ceph.png
    19 KB · Views: 4
Hi,

sounds to me like your VM is using the swap space because you ran out of memory. If your VM storage is backed by Ceph then you will see a high load on the Ceph storage.

From which version did you upgrade?
Did you check what is consuming memory in your VM?
 

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!