Locking Errors

Aki Tuomi aki.tuomi at dovecot.fi
Mon Oct 16 09:08:48 EEST 2017



On 12.10.2017 16:47, List wrote:
> We recently upgraded to version 2.2.10-8 on Centos 7 (from 2.2.10-7) and immediately started experiencing errors in the log file that look like this:
>
> Error: Broken file /mail/user/Maildir/dovecot-uidlist line 891: Invalid data:
> Error: Timeout (180s) while waiting for lock for transaction log file /mail/user/Maildir/dovecot.index.log
> Error: /mail/user/Maildir/.Trash/dovecot-uidlist: next_uid was lowered (421 -> 419, hdr=418)
> Error: Corrupted index cache file /mail/user/Maildir/dovecot.index.cache: invalid record size
> Error: Broken file /mail/user/Maildir/.Trash/dovecot-uidlist line 156: Invalid data:
> Error: Corrupted index cache file /mail/user/Maildir/dovecot.index.cache: invalid record size
> Error: Index /mail/user/Maildir/dovecot.index: Lost log for seq=2 offset=2392
> Error: fcntl(write-lock) locking failed for file /mail/user/Maildir/dovecot.index.log: Stale file handle
>
> We are not sure what might be causing this, can anyone help illuminate what’s going on?
Not sure what goes into 2.2.10-8 in Centos 7, but it's quite old
version. But looks like something has trashed indexes and stuff on the
server. Did you happen to have simultaneous access using two dovecot
instances to the mail data?

Aki


More information about the dovecot mailing list