[lug] Too many files error

Sean Reifschneider jafo at tummy.com
Sun Apr 23 00:39:33 MDT 2006

On Sat, Apr 22, 2006 at 03:06:26PM -0600, David L. Anselmi wrote:
>Why?  Can you combine your data so it can go into fewer files?  Berkeley DB?

Gah!  Using the filesystem as a database is not a great idea, but using
Berkeley DB is, IMHO, not a good alternative.  It's too difficult to get

>So it looks like you have to use only 3 digits as the directory name. 
>But you can do more than one layer in the hierarchy.

With ext2/ext3, I'd recommend limiting the directories to less than a
thousand entries per level.  I usually split them into, as you say,
multiple levels.  I, because I'm that kind of guy, like to keep each level

 If I wrote a file-system, it would have a super-duper block.
                 -- Sean Reifschneider, 2003
Sean Reifschneider, Member of Technical Staff <jafo at tummy.com>
tummy.com, ltd. - Linux Consulting since 1995: Ask me about High Availability

More information about the LUG mailing list