Recently my VPS has became very slow, almost crawling at turtle speed.
Here's the system info:
Top MEMORY users from Running Processes:System hostname ns1.danamotor.com (127.0.0.1) Operating system CentOS Linux 6.5
Webmin version 1.760 Virtualmin version 4.18.gpl
Time on system Wed Aug 26 10:17:57 2015 Kernel and CPU Linux 2.6.32-431.el6.x86_64 on x86_64
Processor information Intel(R) Xeon(R) CPU E5-1650 0 @ 3.20GHz, 4 cores System uptime 2 days, 20 hours, 49 minutes
Running processes 467 CPU load averages 26.40 (1 min) 24.70 (5 mins) 22.13 (15 mins)
CPU usage 36% user, 6% kernel, 58% IO, 0% idle
Real memory 2.57 GB used, 3.74 GB total
Virtual memory 419.26 MB used, 3.87 GB total
Local disk space 51.84 GB used, 143.82 GB total
Top CPU users from Running Processes:1750 mysql 2.87 GB /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --log-e ...
1558 clam 916.32 MB clamd
1258 named 537.28 MB /usr/sbin/named -u named
1520 root 441.70 MB automount --pid-file /var/run/autofs.pid
25466 apache 369.08 MB /usr/sbin/httpd
From what I see, it seems like mysql is using a lot of resources.1750 mysql 122 % /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --log-e ...
27043 root 31.4 % rpm -q -a --queryformat %{NAME}\n%{VERSION}-%{RELEASE}\n%{EPOCH}\n%{GROUP}\n%{AR ...
27048 root 31.0 % ps --cols 2048 -eo user:80,ruser:80,group:80,rgroup:80,pid,ppid,pgid,pcpu,vsz,ni ...
27026 root 22.5 % /usr/libexec/webmin/virtual-server/collectinfo.pl
27047 root 20.0 % sh -c ps --cols 2048 -eo user:80,ruser:80,group:80,rgroup:80,pid,ppid,pgid,pcpu, ...
28056 root 15.2 % /usr/libexec/webmin/virtual-server/backup.pl
I've attached output of getinfo.sh for more info.
Any idea what's wrong and what to do?
Thanks in advance