[Dovecot] consistency issue

Catalin Constantin catalin at bounce-software.com
Sun Apr 9 23:47:19 EEST 2006


> On Fri, 2006-04-07 at 14:03 +0300, Catalin Constantin wrote:
>> Some days ago we had a crush and SOME of the mailboxes get an error on
>> QUERY: "EXPUNGE".
> ..
>> a01 EXPUNGE
>> * BYE Mailbox is in inconsistent state, please relogin.
>> Connection closed by foreign host.

> What does it say in Dovecot's logs? The log files show more informatic
> error messages when this happens.
I don't see anything special in the logs.
No error message.

>> The issue i think it is related to the dovecot dovecot.* files located in
>> the user home.
>> 
>> After i delete thoes it works again !

> You mean if you don't delete them, this keeps happening every time?
If i delete the dovecot.* files from the user home dir (index files i
guess) the index is recreated on login and all works fine.

>> Any clue how this can be solved by not manually deleting the dovecot.*
>> files (index files) ?

> You said you use NFS. What Dovecot version? Have you set
> mmap_disable=yes? What does lock_method contain? 1.0beta4 was the first
> version where indexes stored in NFS should work well (and even then
> mmap_disable and lock_method have to be changed from defaults).

Dovecot version: 1.0beta3.
I've just upgraded to 1.0beta5.

mmap_disable=no (default)
lock_method = flock (default)

I will change the mmap settings, what about the lock_method ?
Which one is better for nfs ?

Will this solve the corrupt dovecot.* index files (the ones which
already have problems) ?

-- 
Catalin Constantin
Bounce Software
http://www.bounce-software.com
http://www.cabanova.ro



More information about the dovecot mailing list