However swap usage is still high : free -m total used free shared buff/cache
available
Mem: 15887 8577 1187 4587 6123
2382
Swap: 4095 3854 241
It's weird, isn't it?
It's consistent. Only ~240 MB of 900M for PK had been evicted to swap. When restarting PK, it dropped those 240MB in swap. Free memory also went up no doubt. I don't know why it's using so much memory, what all these anonymous pages are. If you catch it going above 500M, check /proc/pid/status and let's see what the breakdown is of memory usage.
Ok but smem tell me that around 300M is swap used, and the ~3.5G remaining??? Is there a way to find the culprit processes? Thanks in advance!