Skip to content

What Are Inodes? Why Your Kenyan Hosting Account Says You’ve Hit the Limit

Wikimania 2022 Cape Town (Saturday) 13 – What Are Inodes? Why Your Kenyan Hosting Account Says You’ve Hit the Limit
Photo: Discott, CC BY-SA 4.0, via Wikimedia Commons

You log into cPanel and see a warning: inode usage at 95%. But your disk usage says you’ve only used 2GB of your 8GB. How can you be “full” when there’s clearly space left?

This confuses a lot of website owners, and the explanation is simpler than it sounds. Let’s go through what inodes are, what eats them up, and how to clean house.

What is an inode?

An inode is just a count of files and folders. Every single file on your hosting account uses one inode. Every folder uses one too. An email in your inbox? One inode. A thumbnail WordPress generated from a photo you uploaded? One inode.

Advertisement

Think of it like a filing cabinet. Disk space is how much paper fits inside. Inodes are how many folders and labels it can hold. You can run out of labels long before you run out of paper if you keep filing tiny scraps.

Shared hosting plans usually cap inodes, often somewhere between 100,000 and 300,000 depending on the plan. That’s to stop one account with millions of tiny files from slowing down the server for everyone else.

Where to check your inode usage

In cPanel, look at the Statistics panel on the right side of the home screen. You’ll see a line called File Usage, which is your inode count, alongside disk usage.

To find out where the inodes are, open Disk Usage in cPanel to see which folders are biggest. If you have Terminal access, you can run a quick command to count files per folder, but most people can find the culprit just by looking.

What happens when you hit the limit

When you max out, the server can’t create new files. That sounds abstract until you see what it breaks:

  • New emails bounce or don’t arrive.
  • WordPress can’t upload images or install updates.
  • Caching plugins fail, and the site slows down.
  • Backups stop running.

Some hosts also suspend backups entirely for accounts over a certain inode count. So it’s worth dealing with before you hit 100%.

The usual culprits

1. Email

This is the big one for Kenyan businesses. Every email is a file. If info@yourbusiness.co.ke has been collecting messages since 2019 with nobody deleting anything, that’s easily 50,000 inodes on its own. Spam and trash folders that are never emptied make it worse.

2. Cache files

Caching plugins like W3 Total Cache or WP Super Cache save a copy of each page. On a big site, or one with lots of WooCommerce product variations, that can be tens of thousands of files. Usually harmless, but if the cache never clears, it piles up.

3. Old backups stored on the server

Backup plugins like UpdraftPlus sometimes keep every backup in your account. Some backup tools store files unzipped, which means thousands of inodes per copy.

4. Image thumbnails

WordPress creates several resized copies of every image you upload. Your theme and plugins add even more sizes. Upload 2,000 product photos and you might end up with 15,000 files.

5. Abandoned installs and staging sites

That test WordPress install from three years ago, the old version of the site in a folder called “old_site”, the staging copy nobody deleted. Each one is a full WordPress install with thousands of files.

6. Session and log files

Some plugins and scripts write a new file every time someone visits. If they never clean up, they quietly fill your account.

How to bring inode usage down

  1. Clean up email. Empty Trash and Spam in every mailbox. Archive old emails to a computer using Outlook or Thunderbird, then delete them from the server. Set up auto-deletion of spam after 30 days if your host allows it.
  2. Delete old installs. Use File Manager to remove abandoned folders. Back up anything you’re not sure about first, download the backup, then delete.
  3. Move backups off the server. Configure your backup plugin to send copies to Google Drive or Dropbox and delete the local copies.
  4. Clear and tame your cache. Purge the cache from your plugin settings and set a reasonable expiry time.
  5. Remove unused image sizes. Plugins like “Media Cleaner” or “Regenerate Thumbnails” can help, but take a full backup before running them.
  6. Delete unused plugins and themes. Deactivated plugins still sit on the server. If you’re not using it, delete it.

When it’s time to upgrade instead

If you’ve cleaned up properly and you’re still near the limit, your site may have simply outgrown its plan. That’s normal for a growing online store or a busy news blog. Moving to a larger shared plan raises the inode limit, and a VPS removes most of these caps altogether.

Our hosting packages range from Elite at about KES 2,600 a year to larger plans like Jumbo and World for sites with a lot of content. If email is what’s filling your account, it can also make sense to move mail to a dedicated email service and keep your hosting just for the website.

A simple habit to avoid this

Every quarter, take ten minutes: check File Usage in cPanel, empty mailbox trash, delete old backups, and remove anything you don’t need. It’s the website equivalent of clearing out your phone’s gallery, and it saves you a lot of stress when a bounced email turns out to have been a client’s order.

Not sure what’s eating your inodes? Contact our support team and we’ll take a look at your account with you.

Leave a Reply

Your email address will not be published. Required fields are marked *

Chat now