508 Resource Limit is reached - Wordpress
This error occurs again and again, and I can't post a single post without seeing this error:
The website is temporarily unable to service your request as it exceeded resource limit. Please try again later.
How can I fix this problem?
The first thing you can do to fix a resource limit error is to check your resource usage. Be sure to view server activity logs too. That'll help in identifying the root cause of the problem. If you're a Kinsta customer, then you can view resource usage and activity logs quite easily.
How to Fix a 508 Error. In general, it's a pretty easy fix. As always, if you're a user who gets this error, we highly suggest reloading the page with CTRL/CMD – Shift – R to bypass the cache and then empty your own browser cache to make sure things aren't hanging up on your end.
If you see a "Resource Limit Reached" error message in the browser window for your website, it typically means your account is constantly exceeding the resources assigned to it - these can include CPU usage, RAM usage, or Entry Processes (the number of concurrent processes running under your cPanel account).
The HyperText Transfer Protocol (HTTP) 508 Loop Detected response status code may be given in the context of the Web Distributed Authoring and Versioning (WebDAV) protocol. It indicates that the server terminated an operation because it encountered an infinite loop while processing a request with "Depth: infinity".
Actually it happens when the number of processes exceeds the limits set by the hosting provider.
To avoid either we need to enhance the capacity by hosting providers or we need to check in the code whether any process takes longer time (like background tasks).
Your server is imposing some resource limit that your site is hitting. This is usually RAM, CPU, or INODES.
Ask your server administrator what the limits are and what it is you are hitting to solve.
I've already encountered this error and this is the best solution I've found:
In your root folder (probably called public_html)please add this code to your .htaccess file...
REPLACE the 00.00.00.000 with YOUR IP address. If you don't know your IP address buzz over to What Is My IP - The IP Address Experts Since 1999
#By Marky WP Root Directory to deny entry for WP-Login & xmlrpc
<Files wp-login.php>
order deny,allow
deny from all
allow from 00.00.00.000
</Files>
<Files xmlrpc.php>
order deny,allow
deny from all
allow from 00.00.00.000
</Files>
In your wp-admin folder please add this code to your .htaccess file...
#By Marky WP Admin Folder to deny entry for entire admin folder
order deny,allow
deny from all
allow from 00.00.00.000
<Files index.php>
order deny,allow
deny from all
allow from 00.00.00.000
</Files>
From: https://www.quora.com/I-am-using-shared-hosting-and-my-I-O-usage-is-full-after-every-minute-What-is-this-I-O-usage-in-cPanel-How-can-I-reduce-it
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With