On Mon, Jan 14, 2008 at 10:48:43PM +0100, Christoph Berg wrote:
> Re: Dirk Griesbach 2008-01-13 <[EMAIL PROTECTED]>
>> I think my problem is related although I don't see duplicated messages.
>> Since -2 mutt does create the header cache if it does not exists, but it
>> looks like it does not use it. Every time mutt starts, it reads the hole
>> MailDir which takes just a long time and there is no difference of using
>> mutt with or without header cache.
> 
> Dirk: That's kind of a feature:
> 
>| 3.109. maildir_header_cache_verify

I didn't had it enabled. And it takes a lot more time to get started
with mutt since 1.5.17-2 compared with 1.5.17-1.

> Could you try strace to see if mutt is really reading the files, or
> only stat()ing them?

Strace shows a lot of this:

read(3, "/home/user/Mail/debian-user-"..., 880) = 880
lseek(3, 23140497, SEEK_SET)            = 23140497
read(3, "/home/user/Mail/debian-user-"..., 892) = 892
lseek(3, 24197849, SEEK_SET)            = 24197849
read(3, "/home/user/Mail/debian-user-"..., 991) = 991
lseek(3, 13631488, SEEK_SET)            = 13631488
read(3, "/home/user/Mail/debian-user-"..., 728) = 728
lseek(3, 13084906, SEEK_SET)            = 13084906
read(3, "/home/user/Mail/debian-user-"..., 871) = 871
lseek(3, 6084452, SEEK_SET)             = 6084452
read(3, "/home/user/Mail/debian-user-"..., 1012) = 1012
lseek(3, 27135458, SEEK_SET)            = 27135458
read(3, "/home/user/Mail/debian-user-"..., 1046) = 1046
lseek(3, 9590096, SEEK_SET)             = 9590096
read(3, "/home/user/Mail/debian-user-"..., 848) = 848
lseek(3, 15282663, SEEK_SET)            = 15282663

With 30000 emails in one mailbox this lasts a bit. :-)

Dirk



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to