• 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

Issue Server very slow - procedures

hardbrasil

Regular Pleskian
hi fellas, my server is very slow, and i dont know the procedures to start an investigation,

could you guys help me with some tips?

i perform this:

df -h
top
free -m
and check inside of Plesk hardware monitoring.
iptables is enable
 
This command will show you the processes that consume most CPU load:
# ps aux | sort -nrk 3,3 | head -n 20
What are they?
 
this was the result

root 26463 2.2 1.9 397536 58308 ? Ss 12:00 0:00 /usr/bin/sw-engine -c /usr/local/psa/admi
n/conf/php.ini -dauto_prepend_file=sdk.php /usr/local/psa/admin/plib/modules/website-virus-check/scripts/v
irustotal-periodic-task.php
mysql 20889 0.5 12.3 2727376 377688 ? Sl 2017 1524:08 /usr/libexec/mysqld --basedir=/usr --dat
adir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --log-error=/var/log/mariadb/mariadb.log --pid-fi
le=/var/run/mariadb/mariadb.pid --socket=/var/lib/mysql/mysql.sock
root 26462 0.4 1.2 377000 37944 ? Ss 12:00 0:00 /usr/bin/sw-engine -c /usr/local/psa/admi
n/conf/php.ini -dauto_prepend_file=sdk.php /usr/local/psa/admin/plib/modules/plesk-mobile/scripts/push_wor
ker.php
psaadm 26222 0.4 1.7 533968 54656 ? D 11:57 0:00 sw-engine-fpm: pool plesk
adeclie+ 26415 0.4 1.2 622900 38660 ? S 11:59 0:00 php-fpm: pool areadecliente.com.br
root 29768 0.3 0.3 474152 10092 ? SLl Feb16 166:23 /usr/local/patchman/patchmand
root 6287 0.1 0.0 6476 532 ? Ss 2017 432:13 /sbin/rngd -f
root 12281 0.1 0.7 1191740 24332 ? Sl Jan11 118:28 /usr/bin/python /usr/bin/fail2ban-server
-s /var/run/fail2ban/fail2ban.sock -p /var/run/fail2ban/fail2ban.pid -x -b
root 1 0.1 0.1 193660 4252 ? Ss 2017 633:26 /usr/lib/systemd/systemd --system --deser
ialize 26
dbus 703 0.1 0.0 133756 1364 ? Ssl 2017 1005:08 /bin/dbus-daemon --system --address=syst
emd: --nofork --nopidfile --systemd-activation
apache 21092 0.1 0.9 2211004 27832 ? Sl 01:38 0:53 /usr/sbin/httpd -DFOREGROUND
adeclie+ 26430 0.1 0.6 526328 20456 ? S 11:59 0:00 php-fpm: pool areadecliente.com.br
adeclie+ 26427 0.1 0.6 526328 20464 ? S 11:59 0:00 php-fpm: pool areadecliente.com.br
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
sw-cp-s+ 7598 0.0 0.0 56532 2600 ? S Mar07 0:17 sw-cp-server: worker process
rpc 5793 0.0 0.0 65028 776 ? Ss 2017 0:21 /sbin/rpcbind -w
root 9533 0.0 0.0 128356 648 ? Ss 2017 7:47 /usr/sbin/crond -n
root 9 0.0 0.0 0 0 ? S 2017 265:07 [rcu_sched]
root 8 0.0 0.0 0 0 ? S 2017 0:00 [rcu_bh]
root 79 0.0 0.0 0 0 ? S< 2017 0:00 [deferwq]
 
According to the output, none of the server processes is consuming a lot of CPU power.

Did you check your internet connection and the route to your server by a traceroute? Maybe the issue is not on your server, but on the route?
 
Back
Top