Articles on: cPanel

How To Fix I/O Usage Running High On cPanel?

What is I/O usage?
I/O (input/output is measured in KB/s) is just the “throughput” or speed of data transfer between the hard disk and the RAM. On a server, a disk I/O describes every process that involves writing to or reading from a storage device, which on a shared web hosting server will be the hard disk drive or HDD. I/O processes to an HDD are particularly slow when compared with solid-state memory such as RAM, HDD I/O is, on average, 2,000 times slower.

Why I/O usage is increased?
Mainly the I/O is caused due to the increase in Data output and input ,or you can say increased in reading speed and writing speed in the disc. If you are the owner of a VPS or Dedicated server and while creating a ZIP file from the files of 20 and each file is having 10 GB then it will take a lot of time and hence increase in I/O usage.

Malware
If your WordPress site is affected by Malware then be sure to clean it else hacker will try to slow down your website by increasing the load of your website. You can take backup of your plugins and theme folder separately and scan them at Virus Total website. Once you scan you will find the result which plugin is creating this issue so clean it one by one or rather I will suggest you to stop using that plugin or theme. Sometimes DoS attacks, spam attacks, poorly designed PHP scripts consume large amounts of memory and this makes the sense of high I/O usage inside your cPanel.

Backup Plugins
There were several backup plugins which creates the backup for you but who knows that on the background it is doing the input/output of your data to read and write the data in your hard drive or HDD.If your website’s total data size is too high then you will notice the backup plugin is taking too high time to make the backup and your I/O usage is too high and once it is completed you will find I/O usage is reduced.

Crawler
If your I/O usage limit is at 400 KBPS and you are receiving more than 400 visitors or Crawler is accessing your pages at a speed of 400 KBPS speed then your website will show there is high I/O usage so in both case either your website is serving the pages or your website is writing the data, both will be included inside the I/O usage. As web spiders that crawl sites too aggressively, so there is the chance of increasing the I/O usage of your cPanel account and results in website slow down.

PHP Script
Most Linux servers in today’s shared hosting environment run Apache web servers and their hosting panel is cPanel. And, most of these support CGI and FastCGI scripts and most popular one is SuPhp – written in a number of languages, such as Perl, Python, and the most popular, PHP. A single site potentially can consume all CPU, IO, Memory resources or Apache processes and this may bring the server to a complete grinding halt.

wp-cron.php File
If you look inside your file manager you will find the wp-cron.php file which takes part in running your automated task, make sure the file is not being infected. As there is scheduled run of the plugin’s task, there is a chance of running the short PHP file to execute the task and increase the memory usage and I/O usage. so you can use a plugin named WP Control which you can use to analyze and control the cron actions. If your WordPress is not running on any automated task then it’s better to disable access from wp-cron.php file by changing the file permission to 0000.

How to fix high I/O usage?
There were several ways you can minimize the high I/O usage and make your website run faster, so I will go straight to the solution by highlighting the detailed steps by which you can completely reduce the high I/O usage issue for your WordPress website.

Install Caching plugin
As our WordPress website runs over PHP, and it takes high memory and CPU usage as it serves the PHP files so if we cache the files and convert it to HTML files and serve it to the users then the load of the website will be minimized hence it will reduce the load. You can use several WordPress plugins like W3 Total Cache, WP Super Cache, Comet Cache, WP Fastest Cache and WP Rocket plugin.

Use a CDN
Sometimes huge crawler and BOT wants your website to be down hence they increase the crawl rate and continuously surf the pages of your website, this creates your website unreachable or HTTP 508 error so to block these bots or crawler I will suggest you use CDN like CloudFlare as one of my best choices.

Use Trusted WordPress Plugins and WordPress Themes
Always remember that not paying for something which should be paid will lead you to pay more than what you have not paid. In short, if you have taken any premium plugin or theme from someone else who has nulled it or cracked it then remember that person also expecting something from you i.e either damage to your website or some kind of malfunctioning of your website. Nothing is free in this world, so if you have taken any paid plugin or theme be sure to check it on Virus Total site so that the item is clean.

Use Less Plugin
Using too much plugin means too much load on your website as each visitors will be served by the plugin to perform the action, so there will be a load on your server too. So better use the only required plugins and remove the rest also make sure do not use any automatic plugin like social poster or auto-schedule posts plugin. Use the Query Monitor plugin to see which plugin is creating the high load on your website and fix the load time by analyzing the result generated by the plugin.

Updated on: 17/10/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!