Noticed high swap usage related to VMs running for a long time

brucexx

Renowned Member
Mar 19, 2015
239
9
83
As stated the longer the VMs are running the higher swap usage on the host. I have swappiness set to 10 but with VMs running for 300-400 days the swap is getting full. I can see when rebooting 5-10 of them the swap would go down 10-20%.

Is there particular setting that manages the user of swap on the host with the VM running time ?

Thank you
 
Are you talking about a "real" VM (KVM/QEMU)? If so, how do you measure the high swap usage per VM? I only know the swap information from a container.
 

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!