On Thursday 07 April 2005 19:51, Andreas Aardal Hanssen wrote:
> Yes, or each file could be stat'ed when the maildir is scanned, and this
> size could be used. It still doesn't solve the load problem, though.
> Stat'ing 19k files in my qmail folder takes me 2.5 minutes. My INBOX takes
> 10 seconds with 1500 messages.. Compared to the single stat of mbox,
> Maildir really can't compete.. :-/

I don't know where you get those enormous times from... (or what exactly a 
stat is, or why you're using it)

[EMAIL PROTECTED]:/var/vpopmail/domains/osss.net/cshobe/.maildir
# time du -h --summarize .Mailing\ Lists.Software.Qmail/
43M     .Mailing Lists.Software.Qmail/

real    0m0.047s
user    0m0.012s
sys     0m0.035s

[EMAIL PROTECTED]:/var/vpopmail/domains/osss.net/cshobe/.maildir
# ls -lR .Mailing\ Lists.Software.Qmail/ | wc -l
8507

Cheers,
-- 
Casey Allen Shobe | SeattleServer, Inc.
[EMAIL PROTECTED] | cell 425-443-4653
http://www.seattleserver.com
Please send any responses to [EMAIL PROTECTED]

Reply via email to