[Dovecot] Dovecot LDA - Performance/issues versus postfix delivery? Also, installing on OS X?
Can anyone give me an idea of whether or not dovecot-lda can solve the following issue: We seem to have constantly-corrupting dovecot* files for people who fit one (or more) of the following categories:
- 1000+ message inboxes;
- multiple clients simultaneously checking mail;
- people receiving a lot of mail, and/or the server receiving and trying to deliver a single message to all users at once
We're using straight postfix maildir delivery, and while the mail keeps coming, we start to see a lot of "temp.xxxx.xxxx.xxx" type lockfiles build up after any inconsistencies appear in the Inbox indexes, and clients start to report timeouts and/or crash as a result. Would switching to LDA by itself resolve this issue (on the argument that delivery would ALSO update the indexes every time), or is there some more fundamental issue we are having that is causing the inconsistency to arise?
On a related note: I noticed the darwinports version of 1.0beta7 does not include the code for dovecot-lda... Does anyone have experience setting this up?
Thanks!
-deano
Dean Blackburn wrote:
Can anyone give me an idea of whether or not dovecot-lda can solve the following issue: We seem to have constantly-corrupting dovecot* files for people who fit one (or more) of the following categories:
- 1000+ message inboxes;
- multiple clients simultaneously checking mail;
- people receiving a lot of mail, and/or the server receiving and trying to deliver a single message to all users at once
This has the smell about it of bad locking. Are you absolutely certain that both postfix and dovecot are using the _same_ locking scheme?
Oh, and is the mail store local, or on NFS?
-- Curtis Maloney cmaloney@cardgate.net
Curtis Maloney wrote:
Dean Blackburn wrote:
Can anyone give me an idea of whether or not dovecot-lda can solve the following issue: We seem to have constantly-corrupting dovecot* files for people who fit one (or more) of the following categories:
- 1000+ message inboxes;
- multiple clients simultaneously checking mail;
- people receiving a lot of mail, and/or the server receiving and trying to deliver a single message to all users at once
This has the smell about it of bad locking. Are you absolutely certain that both postfix and dovecot are using the _same_ locking scheme? Indeed! Postfix was using flock, and dovecot was using fcntl.
Unfortunately, switching postfix to use fcntl has not resolved this issue... We're still seeing the temp files from hell.
Oh, and is the mail store local, or on NFS?
Local. We need the server to work before we start investigating NFS/etc.
Thanks,
-deano
On Thu, 2006-04-27 at 18:04 -0700, Dean Blackburn wrote:
Curtis Maloney wrote:
Dean Blackburn wrote:
Can anyone give me an idea of whether or not dovecot-lda can solve the following issue: We seem to have constantly-corrupting dovecot* files for people who fit one (or more) of the following categories:
- 1000+ message inboxes;
- multiple clients simultaneously checking mail;
- people receiving a lot of mail, and/or the server receiving and trying to deliver a single message to all users at once
This has the smell about it of bad locking. Are you absolutely certain that both postfix and dovecot are using the _same_ locking scheme? Indeed! Postfix was using flock, and dovecot was using fcntl.
Unfortunately, switching postfix to use fcntl has not resolved this issue... We're still seeing the temp files from hell.
I guess it leaves temp files if it crashes or maybe in some cases if it can't handle failures properly.
What kind of corruption errors messages exactly are you seeing?
participants (3)
-
Curtis Maloney
-
Dean Blackburn
-
Timo Sirainen