[lug] Too many files error

Ken Kinder kkinder at gmail.com
Mon Apr 24 09:55:12 MDT 2006

On 4/23/06, Sean Reifschneider <jafo at tummy.com> wrote:
> 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
> right.

That's probably true, although all I want are pickled files by an id,
so the filesystem is pretty decent. I think I had a sqlite version for
a while, and it had issues too.

> 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
> prime.

Yeah, I'll try something.

Thanks all!

More information about the LUG mailing list