On Thu, 2008-01-10 at 11:17 +0100, Laurent PELLISSIER wrote:
Timo Sirainen a écrit :
I updated http://wiki.dovecot.org/POP3Server. See maildir performance and session locking.
Why with mbox the performance is getting worse for users that don't keep mails on server ?
That wasn't exactly the point. Updated the text, maybe this is clearer:
Index files are quite useless if your users don't keep mails in the server. They get first updated when the POP3 session starts to include all the messages, and after the user has deleted all the mails, they again get updated to contain zero mails. With this kind of a session the index reads and writes could have been avoided if the index files had just been completely disabled.
You may want to try how performance changes if you disable indexes for POP3 users. You can also try preserving indexes but try different values for mbox_min_index_size setting.
Is it because dovecot does not delete the index entry when it delete a mail ? So index file is becoming huge ?
Mails are deleted from indexes.