Juha Saarinen
2006-Oct-24 01:28 UTC
[Dovecot] Index corruption causes child process to die
My recent migration from Courier-IMAP to Dovecot has been marred by these errors: Oct 24 12:12:40 server dovecot: IMAP(juha): Fixed index file ~user/Maildir/.Geekzone/dovecot.index: first_recent_uid_lowwater 431 -> 430 Oct 24 12:12:40 server dovecot: IMAP(juha): Corrupted index file ~user/Maildir/.Geekzone/dovecot.index: Duplicate header extension keywords Oct 24 12:12:40 server dovecot: child 5786 (imap) killed with signal 11 They happen with Thunderbird 1.5.0.7 and I'm using Dovecot 1.0RC7 from the FreeBSD ports. I think the index corruption may be caused by Tbird's message filtering - I'm asking it to filter certain messages from INBOX to subfolders. When the error occurs, Tbird pops up an error message saying it can't connect to the mail server, but I don't lose any messages it seems. Instead, I get duplicates and even triplicates when I restart Tbird. Any work around for this? -- Juha http://www.geekzone.co.nz/juha
Juha Saarinen
2006-Oct-24 22:38 UTC
[Dovecot] Index corruption causes child process to die
On 10/24/06, Juha Saarinen <juhasaarinen at gmail.com> wrote:> My recent migration from Courier-IMAP to Dovecot has been marred by > these errors: > > Oct 24 12:12:40 server dovecot: IMAP(juha): Fixed index file > ~user/Maildir/.Geekzone/dovecot.index: first_recent_uid_lowwater 431 > -> 430 > Oct 24 12:12:40 server dovecot: IMAP(juha): Corrupted index file > ~user/Maildir/.Geekzone/dovecot.index: Duplicate header extension > keywords > Oct 24 12:12:40 server dovecot: child 5786 (imap) killed with signal 11 > > They happen with Thunderbird 1.5.0.7 and I'm using Dovecot 1.0RC7 from > the FreeBSD ports. > > I think the index corruption may be caused by Tbird's message > filtering - I'm asking it to filter certain messages from INBOX to > subfolders. > > When the error occurs, Tbird pops up an error message saying it can't > connect to the mail server, but I don't lose any messages it seems. > Instead, I get duplicates and even triplicates when I restart Tbird. > > Any work around for this?This took care of the index corruption (touch wood): lock_method=dotlock mmap_disable=yes Before, I was using the defaults: lock_method=fcntl mmap_disable=no At this stage, I'm not sure if it was the change of index locking method or disabling mmapping that fixed things. -- Juha http://www.geekzone.co.nz/juha