[Dovecot] Corrupted index cache file dovecot.index.cache: invalid record size
Hi,
Our dovecot setup consists of two hosts running dovecot-1.0.beta9 with Maildir/indices stored on NFS(noac,actimeo=0 used).
I am seeing these messages at times - but no real problems on the client side. Is this something to worry about?
dovecot: Oct 17 10:33:31 Error: IMAP(user): Corrupted index cache file mailstore/user/Maildir/.mail.incoming/dovecot.index.cache: invalid record size
Thanks!
On 10/18/06, bofh list <bofh.list@gmail.com> wrote:
Hi,
Our dovecot setup consists of two hosts running dovecot-1.0.beta9 with Maildir/indices stored on NFS(noac,actimeo=0 used).
I am seeing these messages at times - but no real problems on the client side. Is this something to worry about?
dovecot: Oct 17 10:33:31 Error: IMAP(user): Corrupted index cache file mailstore/user/Maildir/.mail.incoming/dovecot.index.cache: invalid record size
Thanks!
Bump, has anyone experienced this or problems with it? I forgot to add we have the following setup in dovecot.conf:
mmap_disable = yes lock_method = fcntl
On Wed, 2006-10-18 at 17:53 -0400, bofh list wrote:
Hi,
Our dovecot setup consists of two hosts running dovecot-1.0.beta9 with Maildir/indices stored on NFS(noac,actimeo=0 used).
I am seeing these messages at times - but no real problems on the client side. Is this something to worry about?
dovecot: Oct 17 10:33:31 Error: IMAP(user): Corrupted index cache file mailstore/user/Maildir/.mail.incoming/dovecot.index.cache: invalid record size
1.0.beta9 is old. I've done several fixes to cache file handling since.
Anyway the cache corruption errors aren't too bad, since they're fixed automatically and they won't show up to users at all.
On 11/2/06, Timo Sirainen <tss@iki.fi> wrote:
On Wed, 2006-10-18 at 17:53 -0400, bofh list wrote:
Hi,
Our dovecot setup consists of two hosts running dovecot-1.0.beta9 with Maildir/indices stored on NFS(noac,actimeo=0 used).
I am seeing these messages at times - but no real problems on the client side. Is this something to worry about?
dovecot: Oct 17 10:33:31 Error: IMAP(user): Corrupted index cache file mailstore/user/Maildir/.mail.incoming/dovecot.index.cache: invalid record size
1.0.beta9 is old. I've done several fixes to cache file handling since.
Anyway the cache corruption errors aren't too bad, since they're fixed automatically and they won't show up to users at all.
FWIW, we are still seeing these index corruption errors in dovecot-1.0rc12.
dovecot: Nov 06 17:19:37 Error: IMAP(1): Corrupted index cache file mailstore/1/Maildir/dovecot.index.cache: invalid record size dovecot: Nov 06 17:22:29 Error: IMAP(1): Corrupted index cache file mailstore/1/Maildir/dovecot.index.cache: invalid record size dovecot: Nov 06 18:54:47 Error: IMAP(2): Corrupted index cache file mailstore/2/Maildir/dovecot.index.cache: invalid record size dovecot: Nov 06 23:14:48 Error: IMAP(2): Corrupted index cache file mailstore/2/Maildir/dovecot.index.cache: invalid record size dovecot: Nov 07 09:20:29 Error: IMAP(3): Corrupted index cache file mailstore/3/Maildir/dovecot.index.cache: invalid record size dovecot: Nov 07 10:30:06 Error: IMAP(4): Corrupted index cache file mailstore/4/Maildir/dovecot.index.cache: invalid record size
On Tue, 2006-11-07 at 11:56 -0500, bofh list wrote:
On 11/2/06, Timo Sirainen <tss@iki.fi> wrote: On Wed, 2006-10-18 at 17:53 -0400, bofh list wrote: > Hi, > > Our dovecot setup consists of two hosts running dovecot-1.0.beta9 with > Maildir/indices stored on NFS(noac,actimeo=0 used). > > I am seeing these messages at times - but no real problems on the > client side. Is this something to worry about? > > dovecot: Oct 17 10:33:31 Error: IMAP(user): Corrupted index cache file > mailstore/user/Maildir/.mail.incoming/dovecot.index.cache: invalid > record size 1.0.beta9 is old. I've done several fixes to cache file handling since. Anyway the cache corruption errors aren't too bad, since they're fixed automatically and they won't show up to users at all.
FWIW, we are still seeing these index corruption errors in dovecot-1.0rc12.
dovecot: Nov 06 17:19:37 Error: IMAP(1): Corrupted index cache file mailstore/1/Maildir/dovecot.index.cache: invalid record size
What OS are you using as the NFS client? I think the most likely reason for these is that the OS still does some kind of caching even though the cache is disabled. The cache file is handled a bit specially from locking point of view, which might cause problems unless the NFS client really does no caching at all.
On 11/7/06, Timo Sirainen <tss@iki.fi> wrote:
What OS are you using as the NFS client? I think the most likely reason for these is that the OS still does some kind of caching even though the cache is disabled. The cache file is handled a bit specially from locking point of view, which might cause problems unless the NFS client really does no caching at all.
Multiple RHEL4u3 hosts running 2.6.9-42.0.3.ELsmp connected to a filer
with (rw,nosuid,nodev,tcp,nfsvers=3,rsize=8192,wsize=8192,soft,intr,noac,actimeo=0) mmap_disable = yes lock_method = fcntl
Thanks
On Tue, 2006-11-07 at 13:55 -0500, bofh list wrote:
On 11/7/06, Timo Sirainen <tss@iki.fi> wrote: What OS are you using as the NFS client? I think the most likely reason for these is that the OS still does some kind of caching even though the cache is disabled. The cache file is handled a bit specially from locking point of view, which might cause problems unless the NFS client really does no caching at all. Multiple RHEL4u3 hosts running 2.6.9-42.0.3.ELsmp connected to a filer with (rw,nosuid,nodev,tcp,nfsvers=3,rsize=8192,wsize=8192,soft,intr,noac,actimeo=0) mmap_disable = yes lock_method = fcntl
I don't know what patches RedHat has added to it, but I somehow doubt it has all the needed ones. I think 2.6.17 kernel is the first one which doesn't need any patches to work fully correctly.
But anyway those cache things shouldn't really matter, other than annoy you with their existence in the logs :)
participants (2)
-
bofh list
-
Timo Sirainen