Learn cPanel

Controlling your Web Hosting Account has never been that easy thanks to cPanel web Control Panel!

• Last Updated: 01/03/2020
• ( 6 minutes reading )

How to manage the Disk Usage of your Web Hosting Account in cPanel?

Introduction

Every web hosting package is somewhat limited in terms of disk usage. Whether the inodes or the total amount of used disk space, sometimes the users are experiencing issues maintaining healthy account size. Thanks to cPanel each user can receive an adequate breakdown of each folder's size on their web hosting account or server. In the following lines of this tutorial, we will review the “Disk Usage” cPanel feature and how this functionality can be used to reduce the size of the cPanel-based Web Hosting Account.

 

Accessing the Disk Usage feature 

To access the “Disk Usage” feature you will have to first login to the cPanel service. If you are not sure how to do that, please consider taking a look at our tutorial on the matter - How to access the cPanel service

 

The “Disk Usage” feature is located in the first group of features called "Files". Once you locate it please click on it so you can proceed further with this guide. 


disk-usage-functionality

 

You will be redirected to a brand new page where you will find a brief explanation about the “Disk Usage” feature. Underneath you u will find a breakdown of your cPane web hosting account's disk usage.

 

Reading the Disk Usage of your Web Hosting Account

The “Disk Usage” interface is rather straighforward. The page is separated into two major sections. The first one aims to provide a general overview of the size for the first level of directories contained within the user’s home directory. 


files-in-homedir

 

The important fields for you to pay attention to are the first two:

 

  • Files in home directory - In this row you will see the total size for all the files contained directly within the home directory of your account. Please note that this value does not calculate the files contained within the inner folders but only the files stored in your home directory. If the value for this field is high compared to the other fields, this means that there are large files inside your cPanel's home directory. Typically, such are the manual backups generated for your account, you have uploaded a large archive or there are residual transient files from your applications that can sometimes grow to a large size. 

 

  • Files in hidden subdirectories - Your web hosting account also has directories that are "hidden" for security purposes. In this row, you will see the total size of the files contained in your hidden directories. In a typical UNIX-based operating system, such files are marked with a dot (“.”) right before their names. In case the value of this field is larger than 1GB or more we strongly suggest checking the “.trash” folder for your web hosting account since some of the files you deleted  are probably stored there. 

 

As we have mentioned the other fields in this table view are for the first level of folders contained in your home directory. If, for some reason, any of these folders look suspiciously big to you based on the information provided in this table, please feel free to contact us so we can check what is causing the excessive disk usage. 

 

You have probably noticed already that each folder is actually presented by its name. Clicking on the name of a folder will cause your browser to open another tab with the contents of the folder, conveniently displayed by the cPanel's "File Manager". If you have not yet read our article about the "File Manager" functionality, feel free to do so here. This is done for your comfort, in order for you to quickly check the content of any folder that seems unusually big. 


files-in-individual-directories

 

In addition to all the listed folders, you can also find information for the “MySQL” disk usage as well as the “Email Accounts” disk usage by scrolling down to the bottom of the table section. You may use this information to clean up your MySQL databases and your email accounts as well.

 

databases-and-email-accounts

 

Please bear in mind that if you would like to clear the size of any of these folders, you should be extra cautious due to the fact that most of these are actually used by the cPanel service. Therefore deleting the entire content of a folder might lead to the complete unavailability of the cPanel service for your web hosting account. If you would like to avoid that risk, please consider submitting a Technical Support Ticket and our experienced Technical Support crew will assist you further in cleaning these folders. 



In-depth Disk Usage Review

If you scroll down beyond the table section, right below the first large table you will find a second smaller one used for in-depth analysis of the disk space usage for your cPanel web hosting account. 


detailed-view

 

Here you will be able to see the disk usage for not only the first level of directories but also for all other directories for your entire Web Hosting Account. The only statistics missing in this table are the MySQL and Emails disk usage, however, since those are listed in the previous one they are not needed here.

 

As you probably noticed, each folder can be expanded using the ">" symbol on the left side of the folder name. By clicking on it, you will generate a list underneath the folder itself with the directories contained within. For each one of those, the Disk Usage is displayed in MB (Megabytes) and in bytes.  


expand-folder

 

Another thing that is worth mentioning here, is that clicking on the name of a directory will not expand it. Remember what we talked about earlier about clicking on the folder's name in the first table section? Well, doing that in this section of the page will do exactly the same -  open the cPanel File Manager feature displaying the contents of this directory for you to review and clean. 

 

Congratulations, you now know how to fully read the disk space usage for your Web Hosting Account so you can better understand what is generating the size of the account and how you can reduce it in the event of the same being exhausted. If you are uncertain or you are experiencing difficulties when cleaning your Web Hosting Account, please do not hesitate to reach out to our Technical Support Crew and check with them how your account can become tidier.

...
Nikola Zgurev
Technical Support Captain

Nikola is an accomplished tech-savvy extraordinaire with over six years of experience in the web hosting field. He started as a customer care representative and quickly rose the ranks to become a support supervisor and, eventually - the head of the technical department in HostArmada. His deep understanding of the client's needs, combined with his technical knowledge, makes him the perfect man to create the ideal harmony between client satisfaction and professional problem-solving. You will often find him creating helpful tutorials, articles, and blog posts that help existing customers get around.