Kryocraft
Web Hosting

What Are Inodes, and Why Did My Host Just Warn Me About Them?

Your account can be nowhere near its storage limit and still be close to its inode limit, because the two count completely different things. Here is what inodes are, what quietly uses them up, and what to do about the warning.

Kryocraft Team12 min read

You might have gotten a message from your hosting company. It seems serious, but it might not be.

"Your account is approaching its inode limit."

If you have never dealt with inodes before, the warning can be confusing. You might immediately check your disk space and find that you are nowhere near the storage limit. Perhaps your plan gives you 50 GB, and you are using only 10 or 15 GB.

So what exactly is the problem?

The answer is that inodes and disk space measure different things.

Disk space tells you how much data your account is storing. Inodes track the number of files and directories on the server. A website can therefore have plenty of unused storage and still be close to its inode limit.

For most small websites, inode usage isn't something you need to think about every day. It matters when a hosting account has many files. This can build up over time. It comes from WordPress uploads, emails, caching, backups, development files, and daily website tasks.

Here's what an inode is, why hosting companies limit them, and what to do if you near the limit.

An Inode Is Basically a Record for a File or Directory

An inode is part of the filesystem used by a server to keep track of an object stored on it.

You don't normally see an inode when you're uploading a photograph or creating a folder. Your hosting control panel simply shows you the files and directories. Behind the scenes, the filesystem maintains information about those objects using inodes.

For a website owner, there's one simple rule that matters most:

A file generally requires one inode, and a directory also requires an inode.

The size of the file doesn't determine the basic inode count.

Consider two files:

  • A 3 GB video
  • A 4 KB text file

They use very different amounts of disk space. From an inode-counting perspective, however, each is still one individual file.

Now imagine a website containing 100,000 tiny files. Even if those files don't consume much storage, they can create a high inode count.

That's why looking only at your hosting storage isn't enough when you're investigating an inode warning.

Why Would a Hosting Company Care About Inodes?

It might seem strange for a hosting provider to limit the number of files when you've already paid for a certain amount of storage.

There is a practical reason.

A server's filesystem has to keep track of every file and directory. When an account has a lot of filesystem objects, some tasks get harder. This matters even more in shared hosting, where several customers are using the same server infrastructure.

Backups are a particularly important consideration.

Suppose one website has 20 GB of data stored in a relatively small number of files. Another has the same 20 GB spread across hundreds of thousands of tiny files.

The data amount is similar. However, the backup process handles a different number of objects.

The same issue can happen with filesystem scanning. It also affects account management and other server tasks.

So an inode limit isn't simply another way of saying, "You don't have enough storage."

It's a way for hosting providers to limit the number of filesystem objects an account can create. This helps keep shared environments organized.

If you're still learning how hosting resources work, the Kryocraft web hosting guides provide a useful starting point for understanding hosting infrastructure and resource limits.

How Many Inodes Does Shared Hosting Usually Allow?

There isn't a universal number.

One hosting company might limit you to 100,000 files. Another plan could let you have several hundred thousand. Some providers may use different limits for different tiers.

The number shown by one hosting company isn't helpful for all websites.

The best place to find your limit is your hosting account.

If your host uses cPanel, look at the statistics or resource section. Depending on the provider, you may see terms such as:

  • File Usage
  • Inodes
  • File Count
  • Number of Files
  • Resource Usage

The presentation varies from one host to another.

You might see something similar to:

180,000 / 250,000 files

That means your account is using about 180,000 filesystem objects against a limit of 250,000.

There's no magic percentage at which every website becomes a problem. What matters is the direction your usage is taking.

If the number has been rising for months, check why before you hit the limit.

The Things That Can Quietly Push Your Inode Count Up

You might be shocked to learn that you didn't mean to create hundreds of thousands of files.

A lot of inode growth happens in the background.

Email Is One Commonly Overlooked Source

If your website hosting account also provides email, take a look at your mailboxes.

Old messages remain stored on the server until they're deleted or moved elsewhere. A mailbox that's been used for years can contain a very large number of individual messages.

Now consider a business with several addresses:

  • hello@
  • support@
  • sales@
  • admin@
  • individual employee accounts

The number of stored messages can add up quickly.

Website owners often overlook this. They usually think of email storage as separate from website files. Your hosting server doesn't separate the resources in the same way.

If you have unused mailboxes or old messages, think about email storage.

WordPress Media Can Multiply Into Many Files

WordPress websites can generate far more image files than the number of images you remember uploading.

You might upload one photograph to the Media Library. WordPress, a theme, or a plugin may create additional versions of that image at different dimensions.

Do this for hundreds or thousands of images and the number of individual files can become substantial.

This doesn't mean WordPress is doing anything wrong. Different image sizes help show the right version on various devices and screens.

If your site has been active for years, remember that the media library can use a lot of inodes.

For related WordPress infrastructure and maintenance topics, you can explore the Kryocraft WordPress section.

Cache Files Can Accumulate Without You Noticing

Caching is normally a good thing.

A caching plugin or server-side caching system stores generated files. This way, future visitors don't need the server to do the same work again.

The catch is that cached content is still made up of files.

Depending on how the system works, a busy site can create thousands of cache objects. Some caching tools clean automatically. Others may leave older files until you clear them.

If your inode count seems unusually high, check the cache directories first.

Don't delete random cache folders from the file manager, though. If the application provides a cache-clearing option, use that first.

Old Backups Are Another Big One

Backups are essential. Storing every backup you've ever made on one hosting account is tricky.

Imagine a WordPress site with 20,000 files. A full backup may contain a similar collection of individual files. Keep ten old copies, and you might create a huge number of filesystem objects.

A backup folder can take up a surprising amount of an account's inode usage.

Before you remove anything, check where your backups are stored. Ensure you have a reliable copy saved elsewhere.

Once you confirm that an old backup is truly unnecessary, deleting it can free up many inodes.

node_modules Can Be Huge in Terms of File Count

Developers have another common source of inode-heavy directories: node_modules.

Modern JavaScript apps often rely on many packages. These packages can include numerous individual files.

A project can use many inodes, even if its total disk usage seems low.

If you run a production site, check if you need development dependencies on the server.

A development copy and a production deployment don't always require the same files.

How Do You Check Your Inode Usage in cPanel?

For people using cPanel, start there before reaching for the command line.

Log in to your hosting account. Then, look for the section with your account's resource statistics. Your host may call the relevant metric File Usage, Inodes, or something similar.

The important numbers are:

  1. How many files and directories you're currently using.
  2. What limit your hosting plan has.
  3. Whether the number is increasing rapidly.

Knowing the total is useful, but it doesn't tell you what is responsible for it.

If you're using 190,000 inodes, for example, the next question should be:

Where are those 190,000 files?

That's where a file-level investigation becomes useful.

Can You Check Inodes Over SSH?

Yes, provided your hosting plan gives you SSH access.

A commonly used command for getting a rough count of filesystem entries is:

find . -xdev | wc -l

Run from the appropriate directory, this can help you see how many entries exist beneath that location.

You can look into specific directories to find areas with a lot of files.

For example, your main website directory might have a good number of files. In contrast, an old backup folder could hold many more.

That's much more actionable than simply knowing the account-wide total.

If SSH is unfamiliar territory, don't worry. You don't need command-line experience just to solve an inode warning. Your hosting provider may also be able to identify the directories responsible for high file usage.

And if you do use SSH, be cautious. A command that counts files is very different from a command that removes them.

How Can You Lower Inode Usage Safely?

The safest cleanup starts with identification, not deletion.

Find out what's consuming the inodes first.

Old backups are often an easy place to start. Check whether they are still needed and whether another backup copy exists.

Then look at cache directories. Use the relevant application's cleanup function wherever possible.

Review your email accounts too. Remove unused mailboxes and clear out unnecessary stored messages based on your email retention needs.

Check WordPress sites for:

  • Unnecessary temporary files
  • Old content
  • Unused plugins
  • Other file buildup

For development projects, check for directories such as:

  • node_modules
  • Old builds
  • Temporary deployment files
  • Duplicate project folders
  • Unnecessary logs
  • Development copies

But don't turn inode cleanup into a race to get the smallest number possible.

A website needs files to function.

The goal isn't to have fewer files at any cost. The goal is to remove files you genuinely don't need.

What Happens When You Reach the Inode Limit?

This is the part that can catch website owners off guard.

When an account reaches its inode limit, the server may stop allowing the account to create new files.

The symptoms depend on what your website is trying to do at the time.

For example, you could encounter:

  • Failed file uploads
  • WordPress plugin errors
  • Cache creation failures
  • Problems with applications creating temporary files
  • Email-related issues
  • Failed backup jobs

The last one is especially frustrating.

Your account might have enough disk space for another backup. However, the backup process still needs to create separate files. If the account can't create them because it has reached the inode ceiling, the backup can fail.

In some cases, you might not notice the failure right away. You need to check your backup logs actively.

A warning is important to take seriously, even if your website seems fine.

Does a High Inode Count Mean You Need to Clean Up?

Sometimes.

But not always.

Some accounts are cluttered with unnecessary files. Others need many files for good reasons.

A big ecommerce store may have lots of product images, generated assets, app files, logs, and other data.

A web application may naturally create thousands of files.

A large WordPress installation can also grow considerably over time.

If you've removed obvious extra files but your inode count is still high, deleting more might not help.

It may be time to look at the hosting environment itself.

When High Inode Usage Means You've Outgrown Shared Hosting

Shared hosting is great for many websites. The provider takes care of most server tasks, and costs are shared among several customers.

But shared hosting has boundaries.

If your website has many filesystem objects, you might reach your inode limit. This could mean your current plan isn't the best for the long run.

This doesn't necessarily mean you've done anything wrong.

It can simply mean the website has grown.

A VPS gives you a different level of control and flexibility. If you're considering that transition, the Kryocraft VPS hosting guides can help explain what changes when you move beyond shared hosting.

For substantially larger workloads, dedicated infrastructure may make sense as well. The Kryocraft dedicated servers section covers that side of the hosting spectrum.

The important thing is not to upgrade just because you've received one warning.

First, investigate.

If half of your inode usage is old backups and unnecessary files, cleanup may solve the issue.

If your usage stays high because your website needs all those files, the warning offers helpful info about your hosting setup.

Inodes and Disk Space Are Two Different Measurements

This is probably the easiest way to remember the whole topic.

Disk space = how much data is stored.

Inodes = how many filesystem objects are stored.

Those numbers don't necessarily move together.

A website could use 5 GB of disk space but contain hundreds of thousands of small files.

Another website could use 40 GB while storing its data in a relatively small number of large files.

If your hosting provider alerts you about inodes, but your storage dashboard looks fine, there's no contradiction.

You're looking at two different resources.

Final Thoughts

An inode warning can look mysterious when you've never encountered one before. The word itself sounds technical, but the basic idea is fairly simple.

Your hosting account isn't only limited by the amount of data it can store. It can also be limited by how many individual files and directories it can maintain.

That's why a website can have plenty of free disk space and still receive an inode warning.

Before you delete anything, find out what's creating the high file count. Email, WordPress media, caches, old backups, and development directories are all worth checking.

If you can safely remove unnecessary files, do that first.

If your website truly needs many files, stop seeing it as a cleanup issue. Your shared hosting plan might be too limited for how your website works now.

In that situation, the inode warning is actually useful. It's giving you an early signal that your hosting requirements are changing.

Same plan, same limits, opposite problem

A few large files Disk space 12 GB of 20 GB Files (inodes) 2,400 of 250,000 Storage fills first. Inodes barely move. Many small files Disk space 3 GB of 20 GB Files (inodes) 241,000 of 250,000 Inodes run out while storage looks fine.

Disk space counts how much data you store. Inodes count how many files you store — which is why an account can be nowhere near full and still be out of room.

inodesshared hostingcpanelhosting limitsfile usage

Common questions

Are inodes the same as disk space?

No. Disk space shows how much data you have on your account. Inode usage counts the number of files and directories. They are separate resource limits.

Does the size of a file affect inode usage?

Generally, no. A large file and a small file each count as one file. So, they usually use one inode each. The amount of storage they use is a separate measurement.

Why are my inodes high when I barely use my storage?

This usually means your account contains a large number of relatively small files. Email messages, WordPress-generated images, cache files, backups, and development dependencies are common examples.

Can WordPress increase inode usage?

Yes. WordPress makes extra files from media uploads, generated image sizes, plugins, themes, caches, logs and temporary data. Large or long-running WordPress sites can therefore accumulate many filesystem objects.

Can email use my hosting account's inodes?

Yes. When email is on the same account, stored messages and mail files can add to your total file count. Old mailboxes can therefore become an unexpected source of inode usage.

Will deleting old backups help?

It can. Removing extra copies from backups with many files can significantly reduce inode usage. Always verify that you have a reliable backup before removing an old copy.

What happens when I reach the inode limit?

The account may be unable to create additional files. Depending on your website, this may cause failed uploads, application errors, cache problems, email issues, and unsuccessful backups.

Should I move to a VPS if my inode count is high?

Not automatically. First identify what's causing the high count and remove unnecessary files. If your website needs many files, high usage is normal. In this case, think about moving to a VPS or a more flexible hosting option.

How often should I check inode usage?

You don't necessarily need to check it every day. If your hosting provider gives inode statistics, check them now and then. This is important after big changes, including website growth, migrations, and updates to backup and caching. Early checks can help you spot problems.

Keep reading