[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mail Issues (pt 2 )




On May 12, 2006, at 12:53 PM, Ron Johnson wrote:

What you're doing differently is that you're _keeping_ the messages  

(255K of them) whereas I purge any mailboxes with >10K messages.  If  

you choose to use Maildir, I'd advise that you configure your system  

to limit the number of messages maintained in a particular  

directory.  I think funny things can happen on ext2 filesystems when  

directory nodes contain >2^15 entries.


Really?  I've got a directory with 700,000 files in it, and while

first-access takes a minute to pull into cache, after that it 

works fine.


$ dir /data/01

total 12148

drwxr-xr-x   6 root root       4096 Oct 16  2005 ./

drwxr-xr-x   4 root root       4096 Oct 16  2005 ../

drwxr-xr-x   7 root root       4096 Oct  4  2005 051003.2352/

drwxr-xr-x   2 root root      49152 Oct 15  2005 lost+found/

drwxrwxr-x   6 me   people     4096 Jun 14  2005 share/

drwxrwx--x 259 me   me     12345344 Apr 30 15:07 temp/


Hmmm, maybe my info's "old news", or maybe it just applies to # of sub-directories.  In any case it's still a caveat that I'd want to see definitively debunked before running the risk of problems on a deployed system.

It's be great news if there is no practical limit to files/dir.  That 12MB temp/ does give me pause though. 

Reply to: