• 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

Question Check CPU usage by domain

Korkodilos_

New Pleskian
Greetings fellow pleskians.
Is there a way to check the CPU usage of a domain/subscription? I'm seeing quite high spikes in grafana and i'm unable to track down the culprit.
 
A good start is to simply look at the cpu usage of the PHP-FPM processes like
# ps aux | grep php-fpm
You can tell which account uses the resources from the first column. From there, descend into /var/www/vhosts/<subscription>/logs and view the access_log for repeating requests such as wp-login.php and xmlrpc.php, they are very frequently the cause for high loads. Block the attackers IP with iptables or any other suitable way.
 
Back
Top