When I start working on the website, it slows down and makes it difficult for me to do any work. Inside cPanel I see that the server is reaching its limits quite fast especially the I/O limits.
I’ve already asked my hosting provider if there is a possibility to expand the read write speed or a way to optimize the websites for this speed. In short, their response was that it will not be possible to increase the IO further.
For your reference, here is the full reply from my hosting provider regarding I/O limits:
The account is already assigned with the maximum IO can be assigned on the plan. On checking the graph, we can see the IO spike sharply sometime. It should be caused by some specific operation and it can be backup you take. Please check that, it will not be possible to increase the IO further.
I have checked the I/O and CPU usage related to your domain. Currently, the resource usage is normal in status. However, if you are facing the resource usage issue, please follow the below steps to rectify the case.
1. Update WordPress
2. Update Plugins
3. Avoid beta versions of plugins
4. Install a caching plugin
Caching plugins such as W3 Total Cache and WP Super Cache can dramatically reduce CPU load by caching static copies of your pages on your web space. Static files use less CPU and memory.
5. Only use plugins you really need
The more WordPress plugins you have installed, the longer your site will take to load. Deactivate and delete any plugin that you don’t need.
6. Avoid resource-hungry plugins
If using WooCommerce, or similar resource-hungry plugins, make sure your web hosting has sufficient resources.
7. Avoid buggy WordPress Themes
A badly written WordPress Theme or one written with demanding features such as server-side image resizing can be CPU intensive.
It’s better to contact your code developer and optimize the database and code part.
Please do refer to the details from your end. Feel free to contact us if you need further assistance.
I’ve done some research on my own, trying to find a hosting provider that offers higher I/O, but was surprised to find that 1Mb/s is actually the norm for most hosting services. Please see: https://webmasters.stackexchange.com/questions/65571/what-does-i-o-limit-mean-in-a-hosting-package
After reading the above thread, I checked the error log in cPanel, and here’s what I got:
[Sun Mar 03 10:57:24.002494 2019] [access_compat:error] [pid 1315791:tid 48010430007040] [client 94.76.192.233:42412] AH01797: client denied by server configuration: /home2/astro/public_html/wp-content/uploads/wp-defender/index.php, referer: https://astrobracelet.com/wp-content/uploads/wp-defender/index.php
[Sun Mar 03 10:57:22.972145 2019] [access_compat:error] [pid 1317220:tid 48010444715776] [client 94.76.192.233:42410] AH01797: client denied by server configuration: /home2/astro/public_html/wp-content/plugins/wp-defender/changelog.txt, referer: https://astrobracelet.com/wp-content/plugins/wp-defender/changelog.txt
[Sun Mar 03 10:57:21.087447 2019] [access_compat:error] [pid 1315790:tid 48010472032000] [client 94.76.192.233:42406] AH01797: client denied by server configuration: /home2/astro/public_html/wp-includes/theme-compat/embed.php, referer: https://astrobracelet.com/wp-includes/theme-compat/embed.php
It would seem that Defender plugin is using the maximum allocated cpu speed and io allocation and maximizing usage which causes slow down while waiting for the commands to be issued.
I’d appreciate it if you’d help me optimize the websites so that this lag can be diminished.
Finally, I’d like to cross-reference another ticket, addressing the IO limit issue for another website. In this instance, it is SnapShot plugin that seems to be causing the problem: Please see: https://wpmudev.com/forums/topic/snapshot-pro-backups-not-working-for-alienated-me
Thanks and Regards,
Dubie Bacino