CEPH extrem usage of RAM

informatique-itm

New Member
Jul 13, 2022
3
0
1
Hi everybody,

because of an unexpected crash of the proxmox backup VM, i checked the related HP server host
and noticed that SWAP space was used to 100%.

I ran swapoff -a and swapon -a, which freed the SWAP space.

Currently the 125GB RAM ares used up to 92%, but only 30% are used by running VM's (mainly the proxmox backup VM),
the rest are consumed by CEPH processes.
This consumption has been constantly growing over the last few months.

Is this 'normal' CEPH behaviour ?
Can i change that to avoid too much SWAP action ?

Regards,
Gaston
 
As far as I am aware, processes do not have such fine control as to choose where their memory should be allocated. Swap usage is determined by something called swappiness, through which the Kernel decides how much of the SWAP it should be using. Sometimes though, the kernel might make misjudgements on how it uses the SWAP, leading it to use the SWAP for certain tasks even if that is unnecessary.
In such cases you can reduce the swappiness to a smaller number, which should reduce such unwanted behavior. You can also set it to 0, which tells the kernel to only swap when there is no RAM left in the system.

For more information for this setting please see this link: https://linuxhint.com/customize-linux-swappiness/
 

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!