We're seeing the following sporadically in the log file (single line broken into separate lines for readability): Corrupted index cache file /home/user/mail/.index/.imap/INBOX/dovecot.index.cache: invalid record size We're running dovecot-1.0.7-2.fc8. The imap directory is in the user's NFS-mounted /home directory, but doveot is running on the same host as the /home filesystem. There's plenty of disk space and no other significant system problems. The mail index directory we rm'd a week/so ago, so doveoct has had the opportunity to rebuild it. Any ideas on what might be causing this? Is this issue anything to worry about? thanks.
On 02/02/2008, Gary Funck <gary at intrepid.com> wrote:> Corrupted index cache file > /home/user/mail/.index/.imap/INBOX/dovecot.index.cache: > invalid record sizeHi, First of all, being NFS, I presume the system does not support locking. Might it be an idea to check that the user isn't using two clients at the same time? I found that this became a problem over NFS when a user was using both a webmail interface and a standard client eg Thunderbird on the same account. Where does Dovecot put the INDEX? My problem disappeared as soon as I set INDEX=MEMORY. Kind regards, Ronald. -- Ronald MacDonald http://www.rmacd.com/ 0777 235 1655
On Fri, 2008-02-01 at 18:02 -0800, Gary Funck wrote:> We're seeing the following sporadically in > the log file (single line broken into separate > lines for readability): > > Corrupted index cache file > /home/user/mail/.index/.imap/INBOX/dovecot.index.cache: > invalid record sizeTry if this happens often with stress testing: http://imapwiki.org/ImapTest> Is this issue anything to worry about?Not really. Those errors are invisible to clients and the cache file gets fixed automatically. More probablematic is if Dovecot doesn't notice that the file is broken and returns garbage to client. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080221/ecf82297/attachment-0002.bin>