Skip to main content

How to Troubleshoot a Website That Reached Its cPanel Resource Limit

If your website is experiencing slow performance or intermittent downtime, it may have reached its allocated cPanel resource limits. This article helps you identify which specific resource is being exhausted and provides steps to resolve the issue.

If your website is experiencing slow performance or intermittent downtime, it may have reached its allocated cPanel resource limits. This article helps you identify which specific resource is being exhausted and provides steps to resolve the issue.

Important: This article addresses resource limits enforced by your hosting environment. If your site is experiencing issues but you are not seeing any "Resource Limit" errors, the issue may be related to your specific application code or a different service.

Before you begin

You will need:

  • A cPanel account

  • Access to the "Resource Usage" or "CPU and Concurrent Connections" tool in your cPanel dashboard

Identify the limiting resource

To determine if your website is hitting a limit, you must identify which specific metric is being exceeded.

  1. Log in to your cPanel account.

  2. Locate the Metrics section and select Resource Usage (or CPU and Concurrent Connections).

  3. Review the graphs and status indicators for your account.

  4. Look for any red indicators or "Limit Reached" messages.

Common limits include:

  • CPU Usage: The amount of processing power used by your scripts.

  • Entry Processes: The number of simultaneous PHP scripts running.

  • Memory Usage: The amount of RAM used by a single script.

  • Concurrent Connections: The number of simultaneous connections to the server.

Troubleshooting common resource issues

Depending on which resource is flagged as "Limit Reached," follow the relevant steps below.

High CPU or Memory Usage

If your site is hitting CPU or Memory limits, it is often caused by a specific script or plugin running inefficiently.

  1. Identify the specific script causing the spike by checking your site's error logs or using a monitoring tool.

  2. If using a CMS like WordPress, deactivate recently installed plugins or themes to see if the resource usage drops.

  3. Optimize your database by running a repair or optimization via the MySQL Databases section in cPanel.

  4. Check for "looping" scripts or heavy cron jobs that may be running too frequently.

High Entry Processes or Concurrent Connections

If you are hitting these limits, it usually means too many people (or automated bots) are trying to access your site at the exact same moment.

  1. Check your site's traffic for spikes from specific IP addresses.

  2. If a specific IP is causing a spike, use the IP Blocker tool in cPanel to block that address.

  3. Implement a caching plugin or service to reduce the number of times your server has to process a request.

  4. Review your site's "heartbeat" settings (if using WordPress) to reduce the frequency of background requests.

Confirm the result

Your site is successfully optimized when:

  • The Resource Usage tool in cPanel no longer shows "Limit Reached" alerts.

  • Your website loads consistently without "Internal Server Error" (500) or "Service Unavailable" (503) messages.

If the site remains slow after optimization

If you have optimized your code and reduced your resource footprint but still hit limits during peak traffic, your current plan may no longer support your site's growth.

  1. Review your current plan's limits in the Resource Usage tool.

  2. Contact Hostek support to discuss upgrading your account to a higher tier with increased resource limits.

Limitations

  • This article does not cover issues related to external factors like DNS propagation or third-party API failures.

  • Resource limits are enforced at the server level; if you are on a shared hosting plan, your limits are determined by your specific account's allocation.

  • Optimization of your site's code is the most effective way to reduce resource consumption.

Did this answer your question?