ReiserFS - maximum files per directory

From: amrik (none_at_none.ca)
Date: 09/23/05


Date: Fri, 23 Sep 2005 12:42:23 -0400

Hi All,

A php application was setup using 3m tables in mySQL which resulted in
9m files in the database folder. The application ran good for a few days
and then the filesystem crashed. We are still trying to troubleshoot as
to what caused the crash ?

- MySQL ? too many tables ?
- 3Ware 9000 series RAID controller card ?
- ReiserFS ?

MySQL seemed to have no problems and doesn't seem to be the likely culprit.

The filesystem is physically an array of 4 300GB hard drives configured
as RAID 0 on a 3Ware 9000 series card.

Are 9m files in one directory more than what ReiserFS can handle ? This
is what their website says: ( http://www.namesys.com/faq.html )

--QUOTE--
" max number files a dir can have 518701895,
but in practice this value is limited by hash function.
r5 hash allows about 1,200,000 file names without collisions "
--ENDQUOTE--

The application is running under SuSE Linux 9.3 on a 64 bit processor
with 3 GB RAM. The kernel version is 2.6.11

Thanks a lot !!

Amrik