sometimes it takes long to open folder

Jan Hutař jhutar at redhat.com
Mon Jul 3 22:49:17 PDT 2017


On 2017-06-26 19:42 -0300, David Bremner wrote:
>Jan Hutař <jhutar at redhat.com> writes:
>
>> Hello,
>> I'm using notmuch and mutt with virtual-mailboxes. Besides it is awesome
>> and very flexible, sometimes when opening some folders it takes too long
>> with mutt showing progress with "Reading messages..." in the bottom. It
>> takes few minutes for folder with 12k emails.
>>
>
>It would be useful to know if your notmuch new cronjob was running at
>this time; notmuch itself doesn't really do any background processing.
>
>The other useful thing from the notmuch point of view is if you could
>duplicate the slowness with the same search on the command line; that
>would eliminate mutt code as the problem.
>
>d

Hello and thank you for the hints.

Finally it happened again. Looks like `notmuch new` was running around
midnight, then suspend&resume and few retchmail&procmails.

Anyway, on command line:

$ time notmuch search tag:archive >/tmp/aaa

real	0m4.840s
user	0m1.709s
sys	0m0.301s

and with this muttrc config:

virtual-mailboxes \
   [...]
   'ARCHIVE'                    'notmuch://?query=tag:archive' \
   [...]

when opening that "folder", it took about a minute. Looks like this is
problem with mutt then and I'll focus there.

Thank you,
Jan



-- 
Jan Hutar     Systems Management QA
jhutar at redhat.com     Red Hat, Inc.


More information about the notmuch mailing list