Forgive me, but something else I forgot to ask is if anyone else has
run
into imapkeywords feature causing massive diskio on large mailboxes
(more
than 4,000 messages in one folder). I was only able to identify the
problem
when doing an strace on imapd process.
Yes, just today. I was searching for information on this topic and
right at the top of the archive list is your message.
I just moved to a Mac laptop and I'm using Mail.app for the first
time. It insists on loading every IMAP folder, subscribed or not, so
it is pulling in all of my archived emails. While doing so, it is
also trying to add $Junk or $NotJunk keywords to every mail in 5 years
worth of email. Most of these folders contain over 20,000 messages.
The IMAP command for each message is something like UID STORE ####
(etc, etc).
I noticed that it seems to be taking DAYS to complete this operation.
Courier slows down exponentially as the list of messages with keywords
increases.
You don't notice it with a few hundred messages. After a couple
thousand it's taking about a second to do each IMAP command. After
10,000 it's taking over 10 seconds per message.
I also ran strace on the imapd processes. It's pretty ridiculous, and
it gets to be obvious why it takes so long. Courier is re-opening and
re-reading the keywords of every message each time a new keyword is
added. So OF COURSE the operation is O(n^2). Very bad.-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users