[PVE-User] Proxmox 4 swapping with free ram

Guillaume proxmox at shadowprojects.org
Tue Sep 27 16:42:13 CEST 2016


I just upgraded to Proxmox 4.3-1 but didn't rebooted my server yet, so 
i'm still "running" 4.2.

I noticed that my server swap is full although it has a lot of cached 
ram available :

~# free -m
              total       used       free     shared    buffers cached
Mem:         32072      31848        224       7503 1157      27547
-/+ buffers/cache:       3143      28928
Swap:         1022       1022          0

~# top
KiB Mem:  32842260 total, 32619888 used,   222372 free,  1185768 buffers
KiB Swap:  1047548 total,  1047548 used,        0 free. 28211580 cached Mem

All the containers (there's no kvm) have 20 Gb of ram allocated in 
total, and 10 Gb of swap.
So i guess i have allocated and using more swap than the server have 
(32Gb of ram and 1Gb of swap) so it explains it ? (the containers uses 
more than 1 Gb of swap in total)



More information about the pve-user mailing list