[Dovecot] Dovecot timeout over NFS

Timo Sirainen tss at iki.fi
Thu Apr 24 16:51:44 EEST 2008


On Thu, 2008-04-24 at 14:21 +0100, Guy wrote:
> On 24/04/2008, Timo Sirainen <tss at 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:

1. Lock dovecot-uidlist file
2. link() 65000 files to destination mailbox
3. 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080424/750b47ba/attachment.bin 


More information about the dovecot mailing list