When accessing the site, I receive the error Resource Limit Is Reached. What can I do?
There may be cases where one or more hosting resources are exceeded, but it is important to know how to manage those resources!
There may be cases where one or more hosting resources are exceeded. As a result, when accessing the site we will receive the message Resource Limit Is Reached or other errors. This message will continue to appear until the resource load stops.
The resource usage can be viewed in real-time in the main cPanel interface. For a graphical/tabular report by days, we will access cPanel, after which we will click on CPU and concurrent connection usage.
To reduce resource usage, we can try the following:
- We check the access logs (available in the control panel) to see if we have a brute force attack on the administration side or elsewhere on the site. If we notice unusual traffic from one or more IPs, we can block them using IP Blocker in cPanel.
- We ensure that we have a caching module installed and activated in the application used. For example, in the case of WordPress, we can use the wp-super-cache plugin.
- We ensure that all modules, the theme, and the application itself are updated to the latest available version.
- We ensure that the front-end of the website is optimized: "minify" CSS, JS, HTML, gzip compression, front-end caching, image optimization, etc. For example, websites that perform front-end optimization checks are: GTmetrix or Google PageSpeed Insights.
- We ensure that the back-end is optimized by disabling and deleting modules/plugins that we no longer need. We attempt database optimization, either by using a plugin or utilizing PhpMyAdmin functionalities.
- If all modules and the application are updated, we can attempt to switch to the latest available PHP version (if the application developer specifies that it supports the latest version).
- Other specific optimizations for the application used.
Ultimately, if all optimizations have been made but the error regarding resource limits persists, you will need to consider upgrading to a higher package that offers more resources for your website.