[Dovecot] Corrupted transaction log file
Peter Mogensen
apm at one.com
Fri Nov 4 21:23:36 EET 2011
Hi,
I'm experiencing a problem I need some pointers to debug.
I'm running Dovecot 2.0.15 and have a client which keeps causing
log-entries like:
Nov 4 15:10:42 mail dovecot: imap (test at aaaone.net): Error: Corrupted
transaction log file /mail/3340444/.TestMails/dovecot.index.log seq 2:
indexid changed 1320419300 -> 1320419441 (sync_offset=0)
Nov 4 15:10:42 mail dovecot: imap(test at aaaone.net): Error: Corrupted
transaction log file /mail/3340444/.TestMails/dovecot.index.log seq 2:
Invalid transaction log size (4476 vs 4360): /mail/3340444/.
TestMails/dovecot.index.log (sync_offset=4476)
Nov 4 15:10:42 mail dovecot: imap(test at aaaone.net): Disconnected: IMAP
session state is inconsistent, please relogin. bytes=549/100474
The client issues a lot of IMAP connections like this:
A1_0 LOGIN "test at aaaone.net" "password"
A1_1 ENABLE QRESYNC CONDSTORE
* OK Waiting for authentication process to respond..
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
IDLE STARTTLS AUTH=PLAIN] Dovecot ready.
A1_0 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND
UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE
QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS]
Logged in
* ENABLED QRESYNC CONDSTORE
A1_1 OK Enabled.
A2_0 CREATE "INBOX.folder"
A2_0 OK Create completed.
A3_0 SUBSCRIBE "INBOX.folder"
A3_0 OK Subscribe completed.
A4_0 APPEND "INBOX.folder" ($CreatedByImapClient-test) {20487+}
... more similar appends.
But it only seems to be reproducible, when there's another client
involved. Starting up Thunderbird with a login to the account seems to
be enough to cause this. (To my knowledge this causes a series of STATUS
command and then IDLE).
The installation is using Maildir and lock_method = fcntl on local disks.
/Peter
More information about the dovecot
mailing list