Hi Timo,
Now it is a little bit late as I had to switch off 1.1.2 and revert to 1.0.RC2, where I don't see these errors any more. The server is in kind of production and I cannot just swap versions and disable my beloved users... at the moment.
The first is right, 1.1.2 complains about something after 1.0.RC2, but every folder is listed just once in the log, what indicates self healing.
Hard to replicate, you need to have multiple users accessing same folders, folders are auto-mounted through NFS, mail agent Thunderbird and/or Outlook, effective UID/GID gives write permissions only on 'drwxrws---' folders thorugh SGID, otherwise only owner has write permissions, therefore often building indices in memory. Thunderbird seems to go into endless loop while trying to rebuild indices, where it fails to respond. The section below repeats endlessly until dovecot + TB are killed.
dovecot: Aug 28 16:58:22 Error: IMAP(user): Log synchronization error at seq=1,offset=24 for /home/user/mailarchive/Facilities/Cleaning/.imap/Waste &- Recycling/dovecot.index: Broken extension introduction: Record field points outside record size (0+16 > 8) dovecot: Aug 28 16:58:22 Warning: IMAP(user): fscking index file /home/user/mailarchive/Facilities/Cleaning/.imap/Waste &- Recycling/dovecot.index dovecot: Aug 28 16:58:23 Warning: IMAP(user): fscking index file (in-memory index) dovecot: Aug 28 16:58:23 Error: IMAP(user): Next message unexpectedly lost from 5382 dovecot: Aug 28 16:58:23 Error: IMAP(user): Next message unexpectedly lost from 8324 dovecot: Aug 28 16:58:23 Error: IMAP(user): Next message unexpectedly lost from 8324 dovecot: Aug 28 16:58:23 Error: IMAP(user): Next message unexpectedly lost from 8324 dovecot: Aug 28 16:58:23 Error: child 18945 (imap) killed with signal 11 [...]
At the source:
ls -al total 28 drwxrws--- 7 user group 4096 Aug 28 17:23 . drwxrws--- 3 user group 4096 Aug 28 17:23 .. drwxrws--- 2 user group 4096 Aug 28 17:23 Daily drwxrwx--- 2 user group 4096 Aug 28 15:04 Sanitary drwxrwx--- 2 user group 4096 Aug 28 15:04 Shredit drwxrwx--- 2 user group 4096 Aug 28 15:04 Special drwxrwx--- 2 user group 4096 Aug 28 15:04 Waste &- Recycling
ls -al Waste\ \&-\ Recycling/ total 232 drwxrwx--- 2 user group 4096 Aug 28 15:04 . drwxrws--- 7 user group 4096 Aug 28 17:23 .. -rwxrwx--- 1 user group 18 May 23 2006 .customflags -rw------- 1 user group 4536 Aug 28 17:21 dovecot.index -rw------- 1 user group 107520 Aug 28 17:21 dovecot.index.cache -rwxrwx--- 1 user group 26152 Aug 28 17:21 dovecot.index.log -rwxrwx--- 1 user group 1608 Jul 21 2006 .imap.index -rwxrwx--- 1 user group 60140 Jul 21 2006 .imap.index.data -rwxrwx--- 1 user group 2576 Apr 4 2006 .imap.index.log -rwxrwx--- 1 user group 1556 Jul 21 2006 .imap.index.tree
I have 1.1.2 side installation, so I could try though...
R.
Timo Sirainen wrote:
On Thu, 2008-08-28 at 13:42 +0100, Radomir Zoltowski wrote:
Hi all,
I've switched versions from the 1.0.RC2 to 1.1.2. Now I see a number of errors, e.g.:
dovecot: Aug 28 12:58:06 Error: IMAP(user): Log synchronization error at seq=1,offset=24 for /home/user/mailarchive/Tools/Cadence/.imap/Cadence/dovecot.index: Broken extension introduction: Record field points outside record size (0+16 > 8)
Do these happen often? Or maybe it's just a buggy log file that 1.0.rc2 wrote and 1.1.2 complained about?
dovecot: Aug 28 12:58:10 Error: IMAP(user): Next message unexpectedly lost from 257852 dovecot: Aug 28 12:58:10 Error: IMAP(user): Unexpectedly lost From-line at 257852 dovecot: Aug 28 12:58:10 Error: IMAP(user): Next message unexpectedly lost from 262539
These are a bit more strange. You could see if running with this patch for a while helps: http://hg.dovecot.org/dovecot-1.1/rev/7f5cc9e805ec
But in any case it would be helpful if you could figure out a way to reproduce it.
--
Radomir Zoltowski Radomir.Zoltowski@s3group.com Applications Engineer Silicon & Software Systems Ltd., IT Department South County Business Park, Leopardstown, Dublin 18, IRELAND Tel.: +353 1 291 1224, Fax: +353 1 291 1001
The information contained in this e-mail and in any attachments is confidential and is designated solely for the attention of the intended recipient(s). If you are not an intended recipient, you must not use, disclose, copy, distribute or retain this e-mail or any part thereof. If you have received this e-mail in error, please notify the sender by return e-mail and delete all copies of this e-mail from your computer system(s). Please direct any additional queries to: communications@s3group.com. Thank You. Silicon and Software Systems Limited. Registered in Ireland no. 378073. Registered Office: South County Business Park, Leopardstown, Dublin 18