[Dovecot] Lock file issues

Timo Sirainen tss at iki.fi
Mon Apr 9 20:55:04 EEST 2007


On Mon, 2007-04-09 at 11:30 -0500, Paul Hamby wrote:
> > > Apr  3 08:37:51 app02 dovecot: IMAP(user): file
> > > mail-index-sync-update.c: line 40 (mail_index_sync_update_log_offset):
> > > assertion failed: (prev_offset >= map->hdr.log_file_int_offset ||
> > > prev_seq > map->hdr.log_file_seq)
> > 
> > Hmm. I guess I should change this assert to instead just log an error  
> > and return failure, because it's what leaves the lock files lying  
> > around.
> > 
> 
> Will this change be in an upcoming RC?

I think I'll leave this unfixed for v1.0 and fix it one way or another
with v1.1.

> > But anyway I don't think it's a good idea to keep using this kind of  
> > a configuration where things break all the time..
> 
> Understood, there are just some added complexities to consider in the
> IMAP proxy scenario, such as the changes needed for adding, editing and
> deleting user accounts and the necessary changes to our LDAP config. It
> is something I will have to give more thought/time to.

What about your load balancer, have you set it to redirect connections
from same IP to same Dovecot server? If not, I think doing just that
would help a lot.

-------------- 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/20070409/ce9d2636/attachment.pgp 


More information about the dovecot mailing list