I'm using Proxmox 6.0-4. Even if I set swappiness to 10, Proxmox fills the Swap space. Why? How can avoid it? I'm using only several Debian 9/10 Containers.
Swap will always be used, when it is there. Only an 'swapoff' will stop usage. Swap usage is not harmful per se, only when it needs frequent reading/writing to it.
Swap will always be used, when it is there. Only an 'swapoff' will stop usage. Swap usage is not harmful per se, only when it needs frequent reading/writing to it.
The kernel decides if page not accessed for long time would be swapped out. Also when suddenly more memory was needed and parts had to be swapped out, it will not swap it back in right away. Only when those pages are accessed again. This is a general Linux procedure.