Re: Maximum files per Directory

From: H. Peter Anvin (hpa@zytor.com)
Date: Tue May 01 2001 - 15:58:06 EST


Followup to: <272800000.988750082@hades>
By author: Andreas Rogge <lu01@rogge.yi.org>
In newsgroup: linux.dev.kernel
>
> While trying to create 100.000 (in words: one hundred thousand) Mailboxes
> with
> cyrus-imapd i ran into problems.
> At about 2^15 files the filesystem gave up, telling me that there cannot be
> more files in a directory.
>
> Is this a vfs-Issue or an ext2-issue?
>

Not correct, there can't be more than 2^15 *directories* in a single
directory. I belive this is an ext2 limitation.

        -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon May 07 2001 - 21:00:11 EST