Hello everyone,
I recently configured Proxmox VE 5.1 as my new hypervisor.
Everything works fine, but I can't explain its high SWAP usage.
Some more information about the system:
(long list omitted)
I can confirm that most of the Swap usage comes from the kvm process of one of my VMs:
I have tried reducing the swappiness to 10 from 60 (perhaps 1 would do the trick?) and re-enabling the swap.
This has dramatically reduced Swap usage for two days, but then it steadily climbed back up to its current state (92%).
The VM has its own swap partition, which it abstains from completely. It is just the hypervisor that swaps a lot of memory.
This is obviously not a major problem, but it still gives me an itch, considering how much free RAM the machine has. I would also prefer not disabling it entirely.
Thanks a lot in advance
I recently configured Proxmox VE 5.1 as my new hypervisor.
Everything works fine, but I can't explain its high SWAP usage.
Some more information about the system:
Code:
root@prxsrv:~# pveversion -v
proxmox-ve: 5.1-25 (running kernel: 4.13.4-1-pve)
pve-manager: 5.1-35 (running version: 5.1-35/722cc488)
pve-kernel-4.13.4-1-pve: 4.13.4-25
Code:
root@prxsrv:~# free -m
total used free shared buff/cache available
Mem: 128832 44071 994 136 83766 83572
Swap: 8191 7610 581
Code:
root@prxsrv:~# cat /proc/swaps
Filename Type Size Used Priority
/dev/dm-1 partition 8388604 7792752 -1
I can confirm that most of the Swap usage comes from the kvm process of one of my VMs:
Code:
root@prxsrv:~# cat /proc/16210/status | grep Swap
VmSwap: 7118964 kB
I have tried reducing the swappiness to 10 from 60 (perhaps 1 would do the trick?) and re-enabling the swap.
This has dramatically reduced Swap usage for two days, but then it steadily climbed back up to its current state (92%).
The VM has its own swap partition, which it abstains from completely. It is just the hypervisor that swaps a lot of memory.
This is obviously not a major problem, but it still gives me an itch, considering how much free RAM the machine has. I would also prefer not disabling it entirely.
Thanks a lot in advance