swap: understand memory pressure
Swap usage itself is not always a problem; active paging matters.
free -h
vmstat 1 5
grep -E 'pswpin|pswpout' /proc/vmstat
Verify the result
If si/so in vmstat grows, find the consuming process.
Swap usage itself is not always a problem; active paging matters.
free -h
vmstat 1 5
grep -E 'pswpin|pswpout' /proc/vmstat
If si/so in vmstat grows, find the consuming process.