24 Apr
2008
24 Apr
'08
4:51 p.m.
On Thu, 2008-04-24 at 14:21 +0100, Guy wrote:
On 24/04/2008, Timo Sirainen tss@iki.fi wrote:
Have you set maildir_copy_with_hardlinks=yes?
Yes, that's already set. I've also added: default_mail_env = maildir:%h/Maildir/:INDEX=MEMORY after reading the suggestion somewhere.
In-memory indexes are pretty bad for performance. v1.1 with indexes on NFS and mail_nfs_* settings set to "yes" should give a lot better performance and reliability than v1.0.
Anyway the problem is that Dovecot does:
- Lock dovecot-uidlist file
- link() 65000 files to destination mailbox
- Unlock dovecot-uidlist
If step 2 takes minutes, there isn't really much that can be done to fix this.. Doing the linking without uidlist being locked could cause all kinds of trouble.