[Dovecot] Lock file issues
Paul Hamby
paulhamby at kw.com
Mon Apr 9 22:00:08 EEST 2007
On Mon, 2007-04-09 at 20:55 +0300, Timo Sirainen wrote:
> 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.
Fair enough.
>
> > > 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.
>
We don't actually have a load balancer in front of these boxes, just
using Round Robin DNS to spread requests for webmail to webmail1,
webmail2, or webmail3.
Paul
More information about the dovecot
mailing list