always filling SWAP upto 100%

Issues related to applications and software problems
Post Reply
SeventhSon
Posts: 1
Joined: 2020/01/26 00:41:30

always filling SWAP upto 100%

Post by SeventhSon » 2020/01/26 00:50:40

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?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: always filling SWAP upto 100%

Post by TrevorH » 2020/01/26 17:14:56

What is the output from sysctl vm.vfs_cache_pressure vm.swappiness ? Also show the output from free -m and from uname -a
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply