If your website is experiencing slow loading times, it may be due to resource overload. Consequently, a website becomes overloaded when hosting resources exceed their allocated limits. This guide can help you easily identify the cause of website overload issues in cPanel.
Proceed with the following steps:
- Access Resource Usage:
- Log in to your cPanel account.
- Navigate to the Metrics section and click on Resource Usage.
- Alternatively, use the search bar to find the Resource Usage option.
- Once inside the Resource Usage Dashboard, you will see an overview of your hosting resources:
- No Issues Detected – Your website is optimized and functioning within resource limits.
- Limited Usage in the Past 24 Hours – Your website has exceeded resource limits, leading to overload.
- Approaching Resource Limits – Your site is close to exceeding its allocated resources, potentially leading to performance issues.
- Analyse Resource Usage Details:
To identify excessive usage:- Click on the Details button or go to the Current Usage tab.
- Review detailed resource usage metrics for Memory, CPU, Inodes, and Input/Output.
- Graphs display resource usage per hour by default. To adjust the view:
- Click on the Timeframe drop-down menu.
- Similarly, change the Time Unit setting (e.g., from hours to minutes) for a more granular analysis.
- Examine Snapshots:
To pinpoint the cause of website overload:- Click on the Snapshot tab.
- Review the list of running processes within the selected timeframe.
- The process list includes:
- PID – Process ID
- CMD – Process name
- CPU – CPU usage percentage
- MEM – Memory consumption
- For example, if a process like script.php consumes 103% CPU, it undeniably indicates excessive CPU load, leading to slow performance.
- To check resource overload on a different date:
- Click on the date selector.
- If available, use the Choose Snapshot option to review data from a specific time. Consequently, this helps in identifying trends or issues more effectively.
- Furthermore, explore the Database Queries and HTTP Queries tabs to identify potential issues related to database or web server requests.
- Click on the Snapshot tab.
By following these steps, you can effectively diagnose and manage website overload issues in cPanel, ensuring optimal performance and resource utilisation.