Ffile2fix
Sign in Get started

How to fix "508 Resource Limit Is Reached" on shared hosting

Resource Limit Is Reached. The website is temporarily unable to service your request as it exceeded resource limit. Please try again later.

This error comes from CloudLinux on shared hosting when your account uses more than its allowed entry processes, CPU, memory or processes. The server is fine; your account is being throttled so it does not affect other customers.

Also appears as: 508 Resource Limit Is Reached · HTTP 508 Resource Limit Reached cPanel · Entry processes limit is reached (cPanel Resource Usage) · LVE fault: EP (entry processes) / NPROC / PMEM limit reached

Common causes

  • Too many simultaneous PHP requests (the Entry Processes limit, often 20-30) because pages are uncached or slow
  • Bot traffic or brute-force attacks on wp-login.php or xmlrpc.php
  • Slow external calls or database queries keeping PHP processes open longer than needed
  • Heavy cron jobs, backups or WP-Cron firing on every page load
  • A plugin or script stuck in a loop consuming CPU or memory
  • A site that has simply outgrown its shared hosting plan

How to fix it

  1. Read Resource Usage in cPanel. Open cPanel > Resource Usage (or hPanel's Order Usage on Hostinger) and check which limit faulted: EP (entry processes), CPU, PMEM (memory) or NPROC. This tells you whether the issue is concurrency, CPU or memory.
  2. Check the access log for bots. Look at Raw Access or Visitors for a single IP or user agent making many requests, especially to wp-login.php, xmlrpc.php or search URLs. Block it in .htaccess, the firewall or Cloudflare.
  3. Enable full-page caching. Use LiteSpeed Cache, WP Super Cache or a CDN so most visits are served without running PHP. This is the biggest single fix for EP limits.
  4. Replace WP-Cron with a real cron job. Add define('DISABLE_WP_CRON', true); to wp-config.php and schedule wp-cron.php every 5-15 minutes in cPanel Cron Jobs.
  5. Find the heavy plugin or script. Disable plugins one at a time, or use the slow log and Query Monitor, to find code with long-running queries or external calls.
  6. Upgrade if usage is legitimate. If real traffic consistently hits limits after caching, move to a plan with higher limits or a VPS.

.htaccess (block xmlrpc.php floods)

<Files xmlrpc.php>
    Require all denied
</Files>

# wp-config.php
# define('DISABLE_WP_CRON', true);
# cPanel cron: */10 * * * * php /home/USER/public_html/wp-cron.php >/dev/null 2>&1

How to stop it happening again

  • Keep full-page caching and a CDN active at all times
  • Rate-limit or block login and XML-RPC endpoints
  • Schedule backups and heavy cron jobs for low-traffic hours

Frequently asked questions

What is an Entry Process?

It is a concurrent connection that runs a PHP script in your account. If your limit is 20 and 20 slow requests are running, the 21st visitor gets the 508 error.

Will the 508 error go away by itself?

Yes, once usage drops below the limit, usually within seconds or minutes. But it returns at the next spike unless you reduce the load.

Is 508 the same as the HTTP "Loop Detected" status?

The official 508 code means Loop Detected in WebDAV, but CloudLinux hosts reuse it for account resource limits. On shared hosting it almost always means resource limits.