• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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