• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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