Wondering how to reduce file usage in cPanel? Hosting Revelations is here to help. Often, the file usage exceeds the maximum allocated limit and there is no more space for the new files.
The best part is that you can reduce file usage without deleting any important files.
Let’s start with what file usage is!
Contents5
What is file usage in cPanel?
File usage in cPanel is the limit set by your hosting provider to ensure all other websites hosted on the server get a fair share.
There are two major limits in cPanel. One of them is disk usage which is the total size limit set by your hosting provider.

However, most shared hosting providers offer “Unlimited storage”, right? What’s the limit there?
In that case, there are inode limits. Inodes are the number of files, folders, emails, etc. Any single entry in your hosting is called an inode.
Even empty folders count in inodes. This is the hidden limit.
At Hosting Revelations, I make sure my readers learn the exact hidden details of any hosting company.
As for file usage, you can start by removing large files. The main point is, how can you identify them?
How can I find the large files on my cPanel account?
You can simply head over to “Disk usage” in the cPanel. Inside the disk usage, you can see which top folders in your file manager use the most storage.

You can scroll down a little and you will find the exact list of large files and folders. You can sort them by name or disk usage.

How to reduce file usage in cPanel?
Now let’s get into the actual question of how to reduce file usage in cPanel. Here is a step-by-step guide to reducing file usage. Don’t worry, I will only remove unnecessary files.
Also, these steps can be followed in any sequence you want.
Step 1. Delete unused folders
You can begin by deleting unused folders. Start by checking files such as old backups, duplicate files, development or staging websites, empty folders, etc.
Yes, empty folders use “inodes” which are often limited in web hosting.

Step 2. Delete old emails
Old emails can also consume space. If you have multiple emails, you should delete old emails from all of those inboxes.
Many times, marketing or public inboxes get bombarded with a lot of spam. I recommend deleting it. Yes, even clearing spam and trash will help you.

Step 3: Remove caching files
After the emails, move on to the cache files. If your website is image-based, you should clear the cache files more often. Images take a lot of cache memory even on the server side.
I recommend clearing it.

Step 4: Remove large multimedia files
If your website has videos, just move them to an external website and embed the videos on your website. Avoid storing large files on your server.
Along with that, you should always compress your images to the minimum size possible. WordPress users can add a plugin called Smush to compress those images.

Step 5: Delete backup files
Many people use Softaculous to install CMS on their cPanel. During your installation, it asks you how many backups you want to take and how many rotations it should have.
Often, I select multiple rotations as I don’t want to lose the data.
However, this data takes up too much space. You can delete older backups from Softaculous and only have the latest one or two backups. This is one of the best ways to reduce file usage in cPanel as it deletes big files.

In the same way, if you have a different plugin such as Updraft, make sure you delete the backups from there as well.
Step 6: Delete log and temp files
Log and temp files usually don’t take up too much space. However, they can cause problems in some cases, so it’s a good idea to delete them.
Go to cPanel’s file manager and search for logs and temp folders. Then delete those log files.

Step 7: Clean database
CMS users shouldn’t skip this step. When I delete a plugin, I don’t delete the database entries that use the storage.
In most hosting services, database space is also counted in the storage space.
Cleaning up your database is a good idea. To clean the database in WordPress, you can use plugins like WP Optimize.

Step 8: Remove unneeded cPanel accounts
Enough with shared hosting, this one’s for the VPS users. Some cPanel licenses allow more accounts. If you’re using more accounts, you can remove them or simply decrease their disk allocation.
You will find all these options in “Account functions” inside the WHM panel.

Step 9: Consider hosting upgrade
Finally, if nothing works, you can try upgrading your hosting. Sometimes, the hosting provider itself has limited space and it is not your website’s fault. At Hosting Revelations, I cover many hosting services with high-storage space.
You can try upgrading to a better hosting provider.
If you’re using shared hosting, look for a plan with more storage and a higher inode limit. Hostinger's Cloud Startup plan, for example, includes 100 GB of NVMe storage and 2,000,000 inodes, and InMotion Hosting's Power plan includes 200 GB of NVMe storage.

A VPS is also a good option if you no longer want shared hosting.
Related: Disk Quota Exceeded in WordPress
Conclusion
It’s a good habit to keep cleaning your old files once in a while. I often keep old backup files or development files as is. This increases the storage and file usage.
You can monitor the file usage and inodes to ensure that you don’t exceed them.
Adding an automated media optimization script will always help in prevention. CMS users can simply install a plugin and they are good to go.
FAQ (Frequently Asked Questions)
Is it OK to delete temp files?
Yes, it’s completely fine to delete temp files from your server. Make sure that there is no currently ongoing process.
If a backup is being taken, it’s not a good idea to delete temp files. Let that process finish.
After that, you can delete the temp files.
Which log files can I Delete?
You can delete all the log files. However, it’s always recommended to keep the latest server log files as they are, especially when you’re doing development.
Log files don’t take up too much space. It won’t be a problem.




