What are inodes?

Inodes count files and folders rather than their size. Why inode usage matters on shared hosting and how to find and reduce it.

Guide2 min readLast updated
On this page
  1. What uses lots of inodes
  2. Why it matters
  3. Finding where they are
  4. Reducing inode usage
  5. Common questions

An inode is the record a Linux filesystem keeps for each file and folder. Inode usage is simply how many files and folders your account has, regardless of their size.

A 1GB video uses one inode. A cache folder of 100,000 tiny files uses 100,000.

What uses lots of inodes

  • Cache plugins that store each page variation as a separate file
  • Email — each message is a separate file
  • Session files from PHP applications
  • Old backups and extracted archives left on the server
  • node_modules or vendor folders uploaded unnecessarily
  • Thumbnail sizes generated for every uploaded image

Why it matters

Huge numbers of small files slow backups, file operations and searches, and shared hosting applies fair-use limits to file counts. Understanding your hosting limits

Finding where they are

In System Info & Files › File Manager, folders with enormous numbers of items stand out when opened. Typical suspects: wp-content/cache, imap (email), tmp.

Reducing inode usage

  • Clear or reconfigure cache plugins; set cache expiry
  • Empty Trash and Junk folders in mailboxes
  • Delete old backup folders and extracted archives
  • Don’t upload node_modules; upload only the build output (Hosting static sites and JavaScript framework builds)
  • Remove unused plugins, themes and staging copies

Common questions

What are inodes and why do they matter?

An inode is one file or folder — so the inode count is simply how many separate items your account holds, regardless of their size. A single 1GB video uses one; a cache folder of 100,000 tiny files uses 100,000.

This is a general web-hosting explanation, not specific to Traxio.

It matters because accounts with enormous numbers of tiny files are slow to back up and slow to move. Cache directories, old plugin folders and email with years of small messages are the usual sources.

Spotted something out of date or unclear? Tell us and we’ll fix it.

Keep going