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
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