The Plesk Repair Kit extension can be used to not only repair configuration issues but to diagnose issues with high CPU and memory. Common scenarios for high CPU and bandwidth can include unexpected traffic peaks (eg featured on national news), poor database structure, Denial of Service (DoS) attacks and/or brute force login attempts.
This article will step you through the process of identifying the process using the excess resources.
- Login to your Plesk VPS.
- Ensure you have the “Repair Kit” extension installed (we have a guide on how to install here).
- On the left hand side, select Process List from the Links to Additional Services menu:
- This will bring up a page of running processes on your VPS. You should see an overall summary similar to:
- To determine where the CPU or RAM is being used, you can update the process list in real-time. Click on the “on” button to start the real-time updates:
- The list of processes will be refreshed every 20 seconds and sorted by highest CPU by default:
php-cgi and php-fpm processes will display the associated website / subscription.
- Click on the “Memory usage” header to to sort by memory.
Note: It is expected behaviour for sites to use both CPU and memory and higher traffic or complex sites will use more than others. The screenshots in this example are from a server with busy sites but not excessive use.
If you’re unsure about the usage being high for a particular site, you can contact Conetix and one of our team can review your VPS usage with you to determine if there’s an issue or not.