Corruption of index files

Oliver Welter mail at oliwel.de
Sun Jan 25 11:45:25 UTC 2015


Hi Andreas,

Am 25.01.2015 um 12:41 schrieb Andreas Schulze:
> Oliver Welter:
>>> after upgrading my mail server (dovecot 1.1.7 -> 2.2.13) I get tons of
>>> messages about corrupted index files in the syslog ("Error: Corrupted
>>> transaction log" and "Warning: fscking index file .. dovecot.index".
>>>
>> Some more debugging - I did a "fuser" on a broken dovecot.index file
>> and see a lot of stale file handles, looks like something is not
>> cleaning up. Any ideas are still welcome....
> 
> if your using classic maildir format I would try to completly remove
> any dovecot index files.
> 
> my guess: the existing index files are /so old/
> dovecot is unable to repair them in a propper way.

I already removed them (when they broke) but the problem comes up again
- it seems to be an issue with concurrent mailbox access and locking but
I am unable to track it down further. It would be helpful to know what
changed in the handling of locks/indexes from 1.1 to 2.2....

Oliver

-- 
Protect your environment -  close windows and adopt a penguin!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4074 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20150125/78e97d2b/attachment.p7s>


More information about the dovecot mailing list