CompareHostingOnline

Home / Guides / What are inodes in web hosting? Limits, causes and how to reduce them

Guide

What are inodes in web hosting? Limits, causes and how to reduce them

What an inode is, why shared hosts cap them, what uses them, how to check your count and how to reduce it without breaking your site.

By Muhammad Hamza, Founder & EditorUpdated Nov 30, 2026

Short answer

An inode counts one file or folder. Shared hosts cap the number of inodes per account, often in the hundreds of thousands, to protect the server. Many small files, such as cache and old backups, can hit the limit before your storage fills.

Last verified Nov 28, 2026 · How we test
At a glance
  • What is an inode?On Linux file systems, an inode is a record that describes one file or one folder: who owns it, its size, its permissions and…
  • Why do hosts limit inodes?On a shared server many accounts share the same disk and file system.
  • What uses the most inodes?Email: on many setups each message is a file, so large mailboxes use a lot.

What is an inode?

On Linux file systems, an inode is a record that describes one file or one folder: who owns it, its size, its permissions and where its data is on the disk. Every file and every directory uses one inode, no matter how small it is. A folder with 10,000 tiny files uses 10,000 inodes, even if they total only a few megabytes. That is why inode count and storage size are different measures, and why a site can run out of one without running out of the other.

Why do hosts limit inodes?

On a shared server many accounts share the same disk and file system. A huge number of files slows backups, scans and file operations for everyone, and uses memory in the file system. A limit on inodes protects the server from one account that creates millions of files, and it is a way to stop an account from using the plan as a file store. Typical limits on shared plans range from tens of thousands to a few hundred thousand inodes, and the number is usually found in the plan details or in the control panel, rather than on the main plan page. Read it before you buy; see what unlimited hosting really means.

What uses the most inodes?

  • Email: on many setups each message is a file, so large mailboxes use a lot.
  • Cache directories created by caching plugins and applications.
  • Old backups kept inside the account, especially full copies unpacked as folders.
  • Image thumbnails, because a CMS can create several sizes of every uploaded picture.
  • Session files, logs and temporary files that are never cleaned.
  • Many installed themes, plugins and libraries with thousands of small files each.

How do you check your inode usage?

  1. Open the control panel

    cPanel and similar panels show inode use on the main page or in a disk usage tool.

  2. Find the biggest folders

    Use the disk usage tool to see which directories hold the most files.

  3. Check email separately

    Mailboxes are often the biggest contributor.

  4. On a server with SSH

    Commands that count files per directory show where the numbers are; see what SSH access is.

How do you reduce inode usage?

  • Delete old backups from the account and keep them elsewhere; see website backups.
  • Clear caches, and limit how long caching plugins keep files.
  • Remove unused themes, plugins and old application copies.
  • Clean email: delete spam and old messages, or move archives off the server.
  • Reduce the number of image sizes your theme generates and remove unused ones.
  • Archive many small files into a single compressed file you store elsewhere.

What happens when you hit the limit?

The effects depend on the host, but they are usually unpleasant. You may be unable to upload files, create backups or install updates. Incoming email can bounce because new messages cannot be written. The site may show errors if the cache or session folders cannot be created. Some hosts send a warning first and then suspend writes, and a few ask you to upgrade the plan. Fix it quickly, since deleting files can take a while on a large account.

How do inodes relate to storage and plan choice?

They are separate limits, and a plan can be generous on one and tight on the other. When you compare plans, look at the disk space, the inode limit and the CPU and process caps together. If your site is large or generates many files, such as a store with many product images, an image gallery or a site with large mailboxes, consider a VPS or managed plan where limits are expressed differently; see how to choose a VPS size and bandwidth, storage and transfer.

What are the common mistakes?

  • Looking only at storage and ignoring inodes.
  • Leaving old unpacked backups in the account.
  • Never cleaning mailboxes.
  • Installing many plugins “just in case”.
  • Assuming “unlimited” means there is no file limit.

A worked example: finding 300,000 hidden files

A site owner gets a warning that the account is at 95 percent of its inode limit, although it uses only a fraction of its storage. They open the disk usage tool and see that one folder holds about 200,000 files: an old caching plugin’s cache directory. Another 60,000 are email messages in a mailbox that was never cleaned, and 30,000 are unpacked backup folders from a past migration. They delete the old backups, clear the cache and set the plugin to expire entries, and archive the mailbox. Within an hour the count drops by two thirds.

The site did not change at all. The lesson is that inode problems nearly always come from housekeeping, not from the site’s real content.

How can you prevent inode problems?

  • Set a monthly reminder to review disk and inode usage.
  • Configure caches to expire and limit their size.
  • Store backups off the account.
  • Clean mailboxes or use a mail service with its own storage.
  • Delete unused plugins and old copies of the site.

Sources and further reading

Common questions

How many inodes do I need?

Most small sites use far fewer than typical limits of tens or hundreds of thousands. Check your usage in the control panel, find the biggest folders and clean old backups and caches. Larger sites, shops and big mailboxes need more.

Do emails count as inodes?

On many setups, yes, because each message is stored as a file. Large or old mailboxes can use many inodes, so delete spam and old mail or move archives off the server.

What happens when I reach the inode limit?

You may be unable to upload files, create backups, update software or receive email, and the site may show errors. Hosts may warn you first or ask you to upgrade. Free inodes by deleting unneeded files.

Is the inode limit the same as the storage limit?

No. Storage is the space your data uses. The inode limit counts files and folders, however small. A site with many tiny files can reach the inode limit while using little storage.

How do I find which folder uses the most inodes?

Use your control panel's disk usage tool, which can show file counts by folder, or on a server with SSH use commands that count files per directory. Check email folders, cache and backup directories first.

Related

More guides

Esc

Use the arrow keys, then Enter.