tsoHost Help Centre

Table of Contents

How many files can a shared hosting directory hold

Updated Apr 6th, 2021 at 14:46 BST

The number of files per directory you can have on our shared cPanel packages:

Hosting Type: Max. files/directory

Linux Hosting (cPanel): No limit

Note: Your hosting account cannot hold more than 250,000 inodes/files. For best website performance, limit your directories to no more than 1,024 files/inodes each.

These limits prevent accounts from taxing the server resources and negatively affecting load time. We'll warn customers exceeding these limits and we may relocate files to maintain server performance.

Note: If you receive an "Out of Disk Space" message when trying to add or create more files in a directory, that directory has reached its limit. To avoid this issue, split directories with many files/inodes into subdirectories, and remove 'cache' or 'thumbnail' directories manually or with a cron job.

More info: https://www.tsohost.com/web-hosting/compare