If I were talking about a web hosting server, would there be a maximum limit of files per directory?
Maximum limit of files per directory
directoryfiles
Related Topic
- Centos – How many maximum files per directory on CentOS 5 64bit or Linux RedHat 64bit
- Linux – the maximum number of files a file system can contain
- Efficiently Using rm on a Directory with Millions of Files
- Linux Filesystems – Maximum Number of Files/Directories Allowed Per Directory
- Apache: ExpiresByType per directory
Best Answer
It comes down to filesystem in most cases:
FAT-16: 512
FAT-32: 65,534
NTFS has a maximum number of files per volume, not directory: 4,294,967,295 (via Satanicpuppy)
ext2: 31,998
ext3 originally had the same limit at ext2 (31,998). However, if your distro supports dir_index I believe the only limit is your machine's ram with deteriorating performance as the directory grows beyond 100k files.