Re: [binc] Maildirsize

Casey Allen Shobe <[email protected]>
Newsgroups gmane.mail.imap.binc.general
Organization SeattleServer, Inc.
Message-ID <[email protected]>
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]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.