Skip to content

0850 304 56 78

İlgiHost

WordPress 508 Error: What to Do When the Resource Limit Is Reached

Seeing the 508 Resource Limit Is Reached error on your WordPress site on shared hosting? We explain what the error means, what causes it and how to fix it safely.

İlgiHost 19 min read

WordPress 508 Error: Causes and Fixes for "Resource Limit Is Reached"

What Does the 508 Error Mean?

Most shared hosting servers run the CloudLinux operating system. CloudLinux runs each hosting account inside an isolated container called an LVE (Lightweight Virtual Environment). Each container has its own limits, such as CPU, memory, I/O, number of processes and concurrent entry processes. The goal is simple: a sudden load on one site or a faulty plugin should not degrade the performance of other sites on the same server.

The 508 error that appears with the message "Resource Limit Is Reached" occurs when one of these limits is hit, most often the entry process (EP) limit. When the limit is full, mod_hostinglimits on the web server side cannot admit the new request into the account's LVE and returns a 508 response to the visitor. In other words, the entire server has not crashed; only the capacity allocated to your account is full at that moment.

Don't confuse it with the standard HTTP 508

In the HTTP standards, code 508 means Loop Detected and indicates that the server detected an infinite loop while processing a request. The "Resource Limit Is Reached" message seen in hosting environments is unrelated to this definition; it is a non-standard use that CloudLinux employs for its resource limiting. For this reason, looking for a redirect loop or an .htaccess error will often send you in the wrong direction. The source of the problem is usually that the account is trying to process more concurrent requests than it can handle at that moment.

In the following sections, we will cover how the EP limit works, which situations in WordPress's fill this limit, and how to diagnose it.

The EP Limit: How Concurrent Connections Work

In shared hosting environments that use CloudLinux, each account runs inside an isolated container called an LVE. One of this container's limits is the EP (Entry Processes) value. EP limits the number of concurrent connections reaching the site at the same time. The goal is to prevent a single site from consuming all of the web server's processes and affecting other accounts on the same server. When the limit is reached, a new incoming request cannot be admitted into the LVE and the visitor sees the 508 "Resource Limit Is Reached" page.

What matters is concurrent requests, not the number of visitors

EP does not count total daily or monthly visitors. What is counted is the number of requests being processed at a given moment. For this reason, two situations produce very different results:

  • A site that receives many visitors per day, but whose requests are spread out over time and answered quickly, may never come close to the limit.

  • A site with relatively few visitors, but where every request takes a long time (slow queries, waiting on external services, heavy plugins), can reach the limit quickly because requests overlap.

The logic is simple: the longer a request takes, the longer it occupies an EP slot. A slow page increases the number of connections that stay open at the same time; when connections pile up, the limit fills. Therefore, a 508 is often a symptom not just of "too much traffic" but of a "slow response + concurrency" problem.

It also occurs on LiteSpeed

On servers that use LiteSpeed, the same error appears there as well if CloudLinux LVE is enabled; the LiteSpeed documentation describes this as a CloudLinux-related situation and states that 508 means the concurrent connection limit has been reached. However, the way EP is applied differs from Apache. For this reason, you should not apply a setting recommendation or a counter interpretation you read for Apache to LiteSpeed one-to-one. Knowing which web server is in use lets you interpret the diagnostic steps correctly.

Common Causes of 508 Errors in WordPress

A 508 error appears when the number of requests reaching your site and being processed at the same time hits the concurrent connection (EP) limit set for your account. So the real question is: why is WordPress keeping connections busy for so long, or why is it generating so many requests? In practice, the causes fall into a few main categories.

Slow PHP requests, heavy plugins and uncached pages

Every dynamic page request uses a connection slot until it completes. The longer a request takes, the later the slot is freed. Because the limit is fixed, a slow site can hit the limit even with fewer visitors. Common sources include:

  • Heavy or poorly written plugins: Plugins that run many database queries on every page, wait for responses from external services (e.g. a slow API), or perform intensive operations such as backup, search or related posts increase PHP execution times.

  • Uncached pages: Without a page cache, every visit runs PHP and the database again. Hundreds of requests showing the same content mean hundreds of unnecessary PHP processes.

  • Slow database: Bloated options tables, unindexed queries or a large number of transient records slow down queries, and connections pile up.

  • Waiting on external resources: An unresponsive third-party service can keep a request open until it times out.

Bot traffic and attacks

Not every request comes from a real visitor. Aggressive crawlers other than search engines, malicious bots and automated attacks can quickly increase the number of concurrent requests. On WordPress, the following are especially targeted:

  • wp-login.php: Brute force attempts run PHP and the database on every attempt and cannot be cached.

  • xmlrpc.php: It is frequently abused because it allows multiple operations to be attempted in a single request. If you don't use it, disabling it is reasonable; if you do use it, such as with Jetpack or some mobile apps, check the dependency first.

  • Search and filter pages: Bots can crawl endless parameter combinations; these pages are mostly not cached.

If you see repeated requests in your access logs coming from the same IP ranges or targeting the same URL, the problem is the nature of the traffic rather than its volume.

wp-cron being triggered on every page load

By default, WordPress triggers scheduled tasks during a visitor request (wp-cron.php). On a high-traffic site, this can lead to additional requests and overlapping background jobs; if there are heavy tasks (backup, import, email queue), the load increases even further. Whether this is the real cause of 508 on a specific site should be verified by checking the frequency and duration of wp-cron.php requests in the access logs; it would not be correct to assume it is the cause of every 508 case. Since this item has not been definitively confirmed in the sources used, it should be treated as a possibility.

Special Cases in WooCommerce Stores

WooCommerce works differently from an ordinary WordPress blog. On a blog, most visitors receive a ready-made page from the cache; PHP and the database are hardly involved. In a store, however, most important operations are generated separately for each visitor. Because the 508 error occurs when the number of connections (entry processes, EP) an account can handle at the same time on CloudLinux is full, stores can reach this limit much earlier than blogs.

Requests that cannot be cached

Cart, checkout and account pages are specific to each user. For this reason, page caching plugins and server cache usually exclude these pages on purpose. Every request goes to PHP and the database. The following also add load:

  • admin-ajax.php requests: Operations such as mini cart updates, live search and stock checks can continuously send requests to this endpoint in the background. Each request means a separate PHP process.

  • Checkout flow: The checkout page, shipping calculation and payment provider callbacks (webhooks) can be operations that take several seconds. Every request in progress occupies a slot in the connection quota.

  • Logged-in customers: For logged-in users, the cache is often disabled.

The key point is this: the EP limit restricts not the number of visitors but the number of requests processed at the same time. A slow checkout request occupies the limit for much longer than dozens of requests that finish quickly.

Sudden spikes during campaign periods

A discount announcement, email newsletter or ad campaign brings many people to the site at the same time within a short period. As these people move from product pages to the cart and checkout, the proportion of requests that cannot be cached increases. As a result, concurrent requests rise quickly, requests pile up as they slow down, and the limit is reached. When the limit is exceeded, new buyers see the 508 page; this can lead to lost sales at the most valuable moment of the campaign.

What can be done?

  • Make sure pages that serve the same content to everyone, such as product, category and home pages, are cached; at the same time, exclude cart, checkout and account pages correctly.

  • Identify and disable plugin or theme features that generate unnecessary cart fragments and admin-ajax calls.

  • Test the store under heavy traffic conditions before a campaign, and clean up slow queries and heavy plugins in advance.

  • Keep heavy bot and crawl traffic away from store pages.

When do shared hosting limits fall short?

If you still see 508 errors regularly during campaign periods even after optimizing, the problem may not be your code but the amount of resources available. On shared hosting accounts, LVE limits are deliberately kept restricted so that one site does not affect other users. The normal, legitimate traffic of a growing store can exceed these limits. In that case, the limit is not an error in itself, but a sign that the store has outgrown the scale the shared plan was designed for. At this point, it makes sense to review actual resource usage with your hosting provider and consider options such as a limit increase, a higher plan, or dedicated resources like a VPS. We will come back to this topic in the final section of the article.

Telling 508 Apart from Other Errors

When you see an error on your site, the first thing to do is verify whether the problem really comes from a resource limit. This is because the 508, 500 and 503 screens give a similar "the site is down" impression at first glance, but the causes and solutions behind them are different.

Signs of a 508 error: When the Entry Processes (EP) limit is exceeded, CloudLinux cannot place the request into the LVE and returns a 508 response to the visitor. For this reason, you see the 508 status code directly in the access logs. Because the request never reaches PHP, the PHP error log usually stays clean. In other words, the picture of "no error in the log but the site won't load" is a strong clue pointing to an EP overrun.

Signs of other limits: When the NPROC (number of processes) or memory limit is exceeded, the behavior is different. The PHP process may fail to start or may be terminated while running. As a result, you may see a 500, a 503 or a completely blank page. In these cases, the error log may contain traces such as memory exhaustion or process creation errors, but this is not always guaranteed.

Quick comparison by symptom
SymptomLikely causeWhere to look
508 in the access log, PHP log is cleanEP (concurrent connection) limit exceededAccess log, resource usage graph in the hosting panel
500 or 503NPROC or memory limit exceeded, sometimes a plugin/code errorPHP error log, resource usage graph
Blank white pageMemory limit exceeded or a fatal PHP errorPHP error log, WordPress debug log

Do not confuse NPROC with EP. NPROC is a separate limit that determines the maximum number of processes that can run inside an LVE; according to the CloudLinux documentation, its default value is 100. The NPROC value must be at least 15 higher than the EP value. The reason is that, in addition to the processes counted under EP, other processes (for example, a shell session or cron jobs) can also run inside the LVE. If NPROC falls below this threshold, process creation errors can occur before EP is reached, and you will see a 500 or 503 instead of a 508.

Rule of thumb: first check the access log. If you see 508 on the failing requests, look at the EP side; if there is a 500/503 or a blank page, check the PHP error log and memory and process usage. This distinction saves you from wasting time raising the wrong limit.

Step-by-Step Diagnosis

Before fixing the 508 error, you need to understand why the limit is being exceeded. Otherwise, even if the limit is increased, the problem will soon return. The following order is recommended to reach the fastest result with the least intervention.

1. Review the resource usage graphs

If CloudLinux is enabled in cPanel, there is a "Resource Usage" section. Look at the following here:

  • EP (Entry Processes): This is the number of concurrent connections. If the graph touches the limit line, this is the direct cause of the 508.

  • Faults counts: These increase as limit overruns occur. They show which resource (EP, CPU, memory, NPROC, etc.) is hitting its limit.

  • Time range: Does the increase happen at specific hours, or constantly? If it happens at specific hours, it suggests traffic or a scheduled task such as a cron job or backup.

If not only EP but also CPU or memory has reached its limit, the problem is usually slow-running PHP code. This is because the longer requests take, the more connections stay open at the same time.

2. Read the access logs

In the raw access logs (the Raw Access files in cPanel or the log tool provided by your hosting provider), focus on the time window when the error occurred:

  • Busy IPs: If a single IP or a small group of IPs sends a large number of requests in a short time, it may be bots, malicious crawlers or an attack.

  • Frequently requested URLs: In particular, xmlrpc.php, wp-login.php, wp-cron.php, admin-ajax.php and search result pages (?s=) are common suspects.

  • User-Agents: Overly aggressive search engine or SEO bots may have intensified their crawling.

When interpreting the findings, keep this distinction in mind: if requests come from a variety of IPs and to real pages, the problem may be a traffic increase or a slow page; if the requests follow a single repeating pattern, they can be solved with blocking or caching.

3. Disable plugins one by one

If the logs do not point to a specific component, use the process of elimination:

  1. First take a full backup. If possible, work on a staging copy.

  2. Disable plugins not all at once, but one by one or in small groups.

  3. After each step, check the site's response time and the resource graph.

  4. The plugin that causes a noticeable drop in the graph is the component slowing things down. Update it, look for an alternative, or lighten its settings.

If you cannot access the admin panel, you can deactivate all plugins by temporarily renaming the plugins folder using the file manager or FTP. If the problem disappears, restore the plugins one by one and find out which one is the cause. Don't forget to test the theme in the same way by switching to a default theme.

Permanent Solutions

A 508 error often indicates not a one-off failure, but that your site is regularly approaching the concurrent connection limit defined for your account. For this reason, the lasting solution is to reduce the workload placed on the server at the same time and, if necessary, to set the limit again realistically. The steps below do not have to be ordered from greatest to smallest impact; prioritize them according to the results of your site's diagnosis.

Because the EP limit caps concurrent connections, how long each request keeps the server busy matters directly. The faster requests complete, the fewer connections remain open at the same time.

  • Page cache: Visitors are served ready-made HTML without running PHP and the database. On a server that uses LiteSpeed, you can use the LiteSpeed Cache plugin; in other environments, a reputable caching plugin will work. Don't forget to exclude personalized pages such as cart, checkout and account pages from the cache.

  • Object cache: An object cache such as Redis or Memcached keeps the results of frequently repeated database queries in memory. Ask your provider whether this feature is offered in your hosting plan.

  • Image optimization: Resize images appropriately before uploading, convert them to modern formats and use lazy loading. This reduces the number of requests per page and the transfer time.

  • Limit bots: Look in your access logs for heavy requests coming from the same IP or user agent. Block harmful or unnecessary bots with a firewall, .htaccess rules or a CDN/WAF layer. Don't block search engine bots blindly; if needed, manage the crawl rate with robots.txt and the search engine's webmaster tools. Also restrict brute-force attempts targeting the login page (wp-login.php) and xmlrpc.php.

  • Reduce plugins: Deactivate and delete plugins that are unused, not updated, or run heavy queries on every page. Disabling plugins one by one and measuring the difference in response time is the most reliable way to find the real culprit. If several plugins serve similar functions, cut them down to one.

  • Move WP-Cron to a real cron: By default, WordPress triggers scheduled tasks with visitor requests; as traffic grows, this can create unnecessary extra connections and PHP load. Add the line define('DISABLE_WP_CRON', true); to wp-config.php, and then set up a server cron job in your hosting panel that runs wp-cron.php at regular intervals (for example, every fifteen minutes).

3. Talk to your provider about limits and your plan

If the error persists after optimization, contact your provider's support team. If you share the LVE values for your account, the error log and the times of day when 508 occurs, the issue can be resolved faster. If the provider sees fit, they may raise limits such as EP; however, this may not be possible with every plan and provider, and a limit increase alone will not fix inefficient code.

If you have optimized, cleaned up bot traffic and your site's real visitor count has grown, the overage is no longer temporary but permanent. In that case, moving to a plan that offers more resources is a healthier solution than raising the limit from time to time.

When Should You Move to a More Powerful Infrastructure?

If the 508 error persists even though you have applied the measures in the previous steps, the problem may no longer be in the code or a plugin, but in the resource limits of your plan. Under CloudLinux, each account runs in its own LVE container, and limits such as concurrent connections (EP) are defined for that container. If your site's actual traffic and processing load exceed these limits, cache and query cleanup will only delay the problem.

The following signs suggest it's time to upgrade:

  • Even after caching, image optimization and removing unnecessary plugins, 508 errors keep recurring at certain times of day.

  • The error cannot be attributed to a temporary cause such as bot traffic or an attack; it occurs at normal visitor volumes.

  • Because you operate close to the limits, the site slows down after every campaign, e-mail send or broadcast.

  • Dynamic pages that cannot be cached (cart, checkout, member area) are heavily used.

To verify this, check the resource usage graphs and error logs in your hosting panel. If you see that usage regularly hits EP or other limits, the need is real. You can first ask your hosting provider about your limit status; however, a limit increase may not always be possible and, in a shared environment, may not provide a lasting solution on its own.

For WordPress sites with growing traffic and dynamic content, İlgiHost's WordPress Hosting and WordPress Server services are suitable options. An environment configured for WordPress and a larger resource allocation help reduce the likelihood of the 508 error recurring. When deciding which plan will meet your needs, consider the following:

  • Peak usage values in the resource graphs,

  • How many visitors the site needs to serve at the same time,

  • The volume of operations that cannot be cached (WooCommerce, membership, search),

  • Expected growth in the coming months.

An upgrade does not eliminate the problem of a poorly written plugin or an inefficient query; it only gives you more room. That is why completing the diagnostic steps first and then choosing your infrastructure according to your needs is the healthiest approach.

If you host multiple customer sites within a single account, resource limits are shared across all sites. In this case, a 508 error on a busy site can also affect the other sites in the same account. Splitting sites into separate accounts or separate servers offers the following benefits:

  • A load increase on a single site does not drag down your other customers' sites.

  • It becomes clear how much resource each site consumes, so the source of a problem is found faster.

  • You can choose a more powerful plan for busy sites while avoiding unnecessary cost for lightweight ones.

For agencies managing a large number of customer sites, a separate WordPress Server setup can also be considered. With this structure, resource management is in your hands and you can group sites according to their load.

Frequently asked questions

Does a 508 error mean my site is broken?

Usually not; your account's concurrent connection limit has temporarily been reached. The site returns to normal once the load drops, but the cause should still be investigated.

Are the 508 and 503 errors the same thing?

No, 508 points to the EP limit, while 503 can occur for different reasons. You need to check the logs to tell them apart.

Does a caching plugin fix 508?

In most cases it helps by shortening request time. However, it may not be enough on its own if there is bot traffic or requests that cannot be cached.

Is increasing the limit a permanent solution?

Not always; if the real cause is inefficient requests, the problem will recur. It is better to fix the cause first and then increase resources if necessary.

Resources