• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Swap using drweb/mysqld

it-brockmann

New Pleskian
Hello

first i wish u a happy new year!

Im struggling with my vps swap using. My Hoster fixes the swap to 1 gb and vm.swapiness to 0.
But mysqld and drweb eats my swap, although there are more then 29gb ram free.

Any idea to fix this issue?


# for file in /proc/*/status ; do awk '/VmSwap|Name/{printf $2 " " $3}END{ print ""}' $file; done | sort -k 2 -n -r | less

mysqld 195316 kB
drwebd.real 158184 kB
drwebd.real 158128 kB
drwebd.real 131176 kB
/usr/sbin/spamd 44824 kB
named 18072 kB


# free -mt
total used free shared buff/cache available
Mem: 32768 3199 5834 681 23733 29271
Swap: 1024 427 596
Total: 33792 3627 6430
 
Back
Top