Re:Things We Forgot to Monitor
by caw on Monday February 10, 2014 @03:33PM
(#7213612)
ext3 without dir_index has a limit of 32K directories in any one directory.
Where I saw it crop up was 32K folders under /tmp on a cluster system. So no it's not a limit on number of directories entirely (that's inodes), but rather how many subdirectories you can have.
Re:Things We Forgot to Monitor
by otterley on Monday February 10, 2014 @03:39PM
(#7213649)
ext3/4 has really poor large-directory performance, even with dir_index, especially if you are constantly removing and readding nodes. I would highly recommend XFS for large-directory use cases.
Where I saw it crop up was 32K folders under /tmp on a cluster system. So no it's not a limit on number of directories entirely (that's inodes), but rather how many subdirectories you can have.
http://en.wikipedia.org/wiki/Ext4#Features <-- Fixes 32K limit