Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a issue with my client's linux server. Can some body knows me what is the maximum limit of directory structure size on linux server?

I am not able to create more than 8000 directory in my websites root's 1 directory.

share|improve this question
Whatever you're doing, I think you should try something else. – womble Aug 30 '11 at 5:47
It depends on the filesystem - you don't say which you are using. There's also a limit on the number of inodes on the whole filesystem (df -i) as well as the physical capacity. "in my websites root's 1 directory" - we don't know what that is. – symcbean Aug 30 '11 at 9:48

for ext3 it is 32000 directories per inode.

share|improve this answer
… also subject to other limitations as described in @symcbean's comment on the original answer. – voretaq7 Aug 30 '11 at 19:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.