Proxmox disable swap unless totally out of RAM

How toPerformanceProxmox

The defautl vm.swappiness value for Proxmox 5.2.x is 60


Run this command in Shell in order to reduce swappiness to an absolute necessity when the system is out of RAM.

 sysctl -w vm.swappiness=0

Other performance tips

Proxmox OpenVZ SWAP and Performance