Hi All, 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". I tried flock and even dotlock, but the problems persist. The system is a VPS with an overlay filesystem which did work flawlessly with the old dovecot install and is not reporting any errors in the host machine. From time to time I get warnings about an exceeded inotify limit for the dovecot user - might this be a problem? Anybody has an idea what might be the cause those problems and how to track them down. 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/20150121/d2e34da2/attachment.p7s>
Hi List, Am 21.01.2015 um 13:24 schrieb Oliver Welter:> Hi All, > > 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". > > I tried flock and even dotlock, but the problems persist. > > The system is a VPS with an overlay filesystem which did work flawlessly > with the old dovecot install and is not reporting any errors in the host > machine. > > From time to time I get warnings about an exceeded inotify limit for the > dovecot user - might this be a problem? Anybody has an idea what might > be the cause those problems and how to track them down.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.... 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/4ab43916/attachment.p7s>
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. Andreas