Page 1 of 1

always filling SWAP upto 100%

Posted: 2020/01/26 00:50:40
by SeventhSon
Hi.
There is a 6.10 (actually CloudLinux Server release 6.10 (Vladimir Lyakhov)
6GB memory is free, but swap partition 100% full.
I tried swapoff, than swapon, but after swapon OS fill SWAP partition immediately

Code: Select all

swapon -s
Filename				Type		Size	Used	Priority
/dev/sdg1                               partition	4294244	4294244	-1
I think this behavior is wrong. Why OS use swap if

Code: Select all

free -m
shows 6GB of free memory?
Other similar servers are fine. Checked settings-all looks the same.
Any ideas?

Re: always filling SWAP upto 100%

Posted: 2020/01/26 17:14:56
by TrevorH
What is the output from sysctl vm.vfs_cache_pressure vm.swappiness ? Also show the output from free -m and from uname -a