Proxmox VE 5.1 Host Swap Usage

cwilliams

Member
Oct 12, 2016
7
0
21
40
Hello,

I have a question about the consistent high Swap usage of my Proxmox VE 5.1 Cluster. I'm using 8GB of Swap and my resources aren't being stressed as you can see from the image, so why is there almost always high Swap usage on this and my other 2 Proxmox Cluster Hosts? Is there a known configuration that keeps this from happening?
 

Attachments

  • swapUsage.png
    swapUsage.png
    31 KB · Views: 9
I'm having the same even after setting
Code:
sysctl vm.swappiness=10
the SWAP usage does not reduce as it should and have plenty of RAM. Running PVE 5.2 :

Code:
 pve-manager/5.2-10/6f892b40
proxmox-ve: 5.2-2 (running kernel: 4.15.18-7-pve)
pve-manager: 5.2-10 (running version: 5.2-10/6f892b40)
pve-kernel-4.15: 5.2-10
pve-kernel-4.15.18-7-pve: 4.15.18-27
pve-kernel-4.15.18-3-pve: 4.15.18-22
pve-kernel-4.15.17-1-pve: 4.15.17-9
corosync: 2.4.2-pve5
criu: 2.11.1-1~bpo90
glusterfs-client: 3.8.8-1
ksm-control-daemon: 1.2-2
libjs-extjs: 6.0.1-2
libpve-access-control: 5.0-8
libpve-apiclient-perl: 2.0-5
libpve-common-perl: 5.0-40
libpve-guest-common-perl: 2.0-18
libpve-http-server-perl: 2.0-11
libpve-storage-perl: 5.0-30
libqb0: 1.0.1-1
lvm2: 2.02.168-pve6
lxc-pve: 3.0.2+pve1-3
lxcfs: 3.0.2-2
novnc-pve: 1.0.0-2
proxmox-widget-toolkit: 1.0-20
pve-cluster: 5.0-30
pve-container: 2.0-29
pve-docs: 5.2-8
pve-firewall: 3.0-14
pve-firmware: 2.0-5
pve-ha-manager: 2.0-5
pve-i18n: 1.0-6
pve-libspice-server1: 0.14.1-1
pve-qemu-kvm: 2.12.1-1
pve-xtermjs: 1.0-5
qemu-server: 5.0-38
smartmontools: 6.5+svn4324-1
spiceterm: 3.0-5
vncterm: 1.5-3
zfsutils-linux: 0.7.11-pve1~bpo1
 

Attachments

  • prox.jpg
    prox.jpg
    209.1 KB · Views: 3
The only way I have found to free up the SWAP is to migrate/shutdown the VM's and reboot the host. Even if I migrate all the VM's away there is still some SWAP being utilized.
 

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!