Inodes in cPanel count how many files and folders your account has, not how many GB they take up, and cPanel shows them as File Usage. That is why you can have free space and still have reached your plan's inode limit. When you reach it, new files won't upload, restores fail and the site may show errors. The fix is to delete the folders that fill up with thousands of small files, usually cache, sessions and logs.
What are inodes and how does File Usage differ from Disk Usage
Every file and every folder in your account counts as one inode, regardless of its size. A 5 MB photo and a cache file of a few bytes count the same.
- Disk Usage shows how much space your data takes up, in MB or GB.
- File Usage shows the number of files and folders you have.
At Konet every plan has a limit on both. The file limit (inode limit) is enforced by CloudLinux on the server and is higher on larger plans. You will find the limits of each plan on the Web Hosting page and the Semi Dedicated Hosting page.
Emails count towards the total too, because the server stores emails as files. Every message in a mailbox is a separate file, so a mailbox with tens of thousands of messages also raises File Usage.
Where do I see File Usage in cPanel
- Log in to cPanel.
- On the home page find the Statistics section.
- Look at the File Usage line. It shows how many files you use out of those your plan allows, with a bar and a percentage.
If the bar is approaching 100%, it's time to clean up, before problems start. Next to it you will also see the Disk Usage line, so you can tell whether space or the number of files is the issue.
What happens when I reach the inode limit
The limit you see in cPanel's File Usage is the soft limit. Above it there is also a hard limit.
- Soft limit. When you exceed it, the account keeps working for a limited period. It is the warning that you need to reduce your files. If you don't drop below the limit within that period, the server stops allowing new files.
- Hard limit. When you reach it, the server immediately stops new files from being created.
Once new files can't be written, you will usually see one of the following:
- Images won't upload to WordPress or the online shop.
- File Manager shows "Your account may be over its quota" on upload, even though your space in GB is not full.
- File restores from JetBackup 5 fail, because the files can't be written.
- The site shows a 500 or 503 error wherever it needs to write a file, such as user login, the cart or the cache.
- New emails are not delivered to mailboxes.
You may also receive an email notification that the account is approaching or has reached its file limit. If the situation is not fixed, the Terms of Service allow Konet to restrict or suspend the account until it is back within the limit. That is why it pays to clean up at the first notice.
Which folders usually fill up with thousands of files
Inodes are rarely filled by the site's actual content. The cause is usually something that keeps writing small files and never deletes them.
- Application sessions. Some applications store every visit as a separate file. In Magento, for example, the
var/sessionfolder can reach hundreds of thousands of files if the session lifetime is long. - Cache. WordPress cache plugins (usually inside
wp-content/cache) and cache folders of other applications, such asvar/cacheorstorage/framework/cache. - Application logs. Folders such as
var/logorstorage/logs, where new files are added every day. - Copies and old sites. Clones, staging installations, folders like
oldortestand old applications you no longer use. A full copy of the site doubles its files. - Backups inside the account. Backup folders from plugins or from Softaculous. The Terms of Service do not allow you to keep backups inside your hosting, and you don't need to, because Konet already keeps automatic backups of your account off the server. See also what to do about large files on your hosting.
- Mailboxes that never get emptied. Thousands of old messages in Inbox, Spam and Trash.
In an online shop with WooCommerce, most files are usually in wp-content/uploads, because WordPress keeps every image in several sizes. These are files the site needs, so don't delete them. If their number stays stable, there is no problem. If the site is growing with real content, the solution is a larger plan.
How do I reduce the number of files
- Open cPanel > Files > File Manager.
- Go to one of the folders from the previous section, for example your application's cache folder.
- If the folder contains something you might need, such as an old site, select it and click Compress to turn it into a zip file.
- Download the zip to your computer with Download and delete it from the server.
- Select the files or folder you don't need and click Delete.
- Tick Skip the trash and permanently delete the files and click Confirm.
- Go back to the cPanel home page and check that File Usage has dropped.
If you delete without step 6, the files go to the .trash folder and still count until you click View Trash and Empty Trash. More about the tool's functions in the File Manager guide.
For cache, don't delete files by hand when the plugin has its own purge button. Use the plugin's purge option so its configuration doesn't break. For old emails, delete messages from webmail and empty the Trash folder.
If you delete something by mistake, you can restore it from JetBackup 5, which keeps up to 3 months of history. You do need a little free file headroom for the restore to work, though.
How do I keep it from filling up again
- Short session lifetime. In the application settings, set the session lifetime to a few hours or days, not weeks. Many sites use a few minutes up to an hour, for security reasons as well.
- Automatic cleanup. Many applications have their own task for clearing cache, sessions and logs. Enable it or set it up as a cron job with your developer's help.
- No backups or clones inside your hosting. Keep your own copies on your computer or in the cloud.
- A check once a month. A look at File Usage and Disk Usage catches the problem before you hit the limit.
Frequently Asked Questions
I have free space, why does it say I've reached the limit?
Space in GB and the number of files are two different limits. Lots of small files take up very few MB but fill up the inode limit. Check the File Usage line under Statistics in cPanel.
Is the number in cPanel File Usage the final limit?
It is the soft limit. You can exceed it for a short time, but you need to get back below it, otherwise the server stops new files from being created.
I can't find which folder has all the files, what do I do?
cPanel shows the total number of files, not how many each folder has. If you checked the usual folders and found nothing, open a ticket and we will help you find which folders have the most files.
The folder has so many files that File Manager freezes, how do I delete it?
In folders with hundreds of thousands of files, File Manager can be very slow. Open a ticket, say which folder you want emptied and we will look at it with you.
Can you raise my file limit temporarily?
You can ask for it with a ticket if you need a little time to clean up. We consider it case by case and only for a short period, because lots of files make every account's backups slower and heavier. When you are done, the limit returns to your plan's limit.
If I upgrade my plan, does the file limit go up too?
Yes. Larger plans have a higher file limit, along with more space and resources. The change happens on the same account. See when you need to upgrade your hosting plan.
The site shows a 503, is it definitely the file limit?
Not always. If File Usage is far from the limit, check cPanel > Metrics > Resource Usage for CPU, memory and process limits. If you delete files and the error remains, open a ticket.