Home > cache file > error corrupted index cache file

Error Corrupted Index Cache File

Contents

issues (Corrupted physical size) Messages sorted by: [ date ] [ thread ] [ subject dovecot rebuild index ] [ author ] Hello, I'm running Dovecot 1.1.13 dovecot.index.cache file too large on FreeBSD 7.0-RELEASE and I'm receiving a large number of errors much like the following: dovecot rebuild maildir index dovecot: Jun 08 09:27:04 Error: IMAP(x at x.x): Corrupted index cache file /nfs/x.x/x/Maildir/dovecot.index.cache: Corrupted physical size for uid=2284: 5312 != 5217 dovecot: Jun 08

Doveadm Rebuild Index

09:27:04 Error: IMAP(x at x.x): Corrupted index cache file /nfs/x.x/x/Maildir/dovecot.index.cache: Corrupted physical size for uid=2281: 6992 != 6894 dovecot: Jun 08 09:31:17 Error: IMAP(y at y.y): Corrupted index cache file /nfs/y.y/y/Maildir/dovecot.index.cache: Corrupted physical size for uid=9241: 14545 != 14453 dovecot: Jun 08 09:37:05 Error: IMAP(z at z.z): Corrupted index dovecot reindex maildir cache file /nfs/z.z/z/Maildir/dovecot.index.cache: Corrupted physical size for uid=22741: 12150 != 12066 These are not occurring for all users, but it occurs frequently for the addresses that do show up in the logs. The maildirs are migrated from a previous courier server. I've tried searching the archives and can't find anything related to this error. Could someone shed some light on it? Other than the error messages, I'm not aware of anything being affected, but I'd like to be sure of it Some info about the configuration: Maildirs are accessed via NFS, related settings are mmap_disable: yes mail_nfs_storage: yes mail_nfs_index: yes lock_method: dotlock Regards, Brent Previous message: [Dovecot] Dovecot 1.2 + AIX setups Next message: [Dovecot] Corrupted index cache file issues (Corrupted physical size) Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the dovecot mailing list

2.2.x Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] On 05/08/2014 11:59 AM, Alexander 'Leo' Bergolth wrote: > On 05/08/2014 11:44 AM, Charles Marcus wrote: >> dovecot-uidlist On 5/7/2014 4:38 PM, Alexander 'Leo' Bergolth wrote: >>> I

Dovecot Reindex Mailbox

am getting "Cached message size smaller than expected" errors since >>> dovecot-2.1.x. >> > I tried dovecot 2.2.7, 2.2.10 and 2.2.12. All of them produce tha same > errors. ("Cached message size smaller than expected", sometimes followed > by "read... Invalid argument".) This really drives me to despair! :-( Timo please help! I also http://www.dovecot.org/list/dovecot/2009-June/040261.html tried dovecot-2.2.13 and even downgraded to dovecot-2.1.17 now. (Did a doveadm -v force-resync -u $user "*" for all users after changing versions.) I can also see somehow similar problems on another box that uses (the rather old) dovecot 2.1.1. I tried to add dotlock to mbox_write_locks since according to the source, the LDA (maildrop) seems to try dotlock before fcntl. I also changed fcntl to dotlock for locking http://www.dovecot.org/list/dovecot/2014-May/096309.html index files. (lock_method = dotlock) The only processes that access a users mailboxes are dovecot (imap and pop) and maildrop (LDA). The only non-standard setup I can identify is that I am using an imap-postlogin script that dynamically adds some additional namespaces via environment variables for some users that have access to shared mailboxes. But I doubt wether this can have an influence on the index.cache errors. I'd greatly appreciate your help! Thanks, --leo maillogs,dovecot config and additional information can be found at: http://leo.kloburg.at/tmp/dovecot-index/ 2.2.13 Errors: -------------------- 8< -------------------- May 19 05:51:15 samba dovecot: imap(USER1): Error: Cached message size smaller than expected (75357 < 75358) May 19 05:51:15 samba dovecot: imap(USER1): Error: Corrupted index cache file /home/USER1/mail/.imap/INBOX/dovecot.index.cache: Broken physical size for mail UID 70929 May 19 05:51:15 samba dovecot: imap(USER1): Error: copy: i_stream_read() failed: Invalid argument May 19 05:51:15 samba dovecot: imap(USER1): Error: mail parser: read(/var/mail/USER1, box=Trash) failed: Invalid argument May 19 07:23:59 samba dovecot: imap(USER2): Error: Cached message size smaller than expected (75357 < 75358) May 19 07:23:59 samba dovecot: imap(USER2): Error: Corrupted index cache file /home/USER2/mail/.imap/INBOX/dovecot.index.cache: Broken physical size for mail UID 18322 May 19 07:23:59 samba dovecot: imap(USER2): Error: read(/var/mail/USER2) failed: Cached message size smaller than expected (

index cache file and Maildir filename has wrong W value Messages sorted by: [ date ] [ thread ] [ subject http://www.dovecot.org/list/dovecot/2010-May/048671.html ] [ author ] kmail stopped working and when I check the dovecot log file I see: May 4 11:40:38 f12barry dovecot: IMAP(bscott): Corrupted index cache file /home/bscott/Maildir/._NewMail-com/dovecot.index.cache: Corrupted virtual size for uid=234: 633278 != 633251 May 4 11:40:38 f12barry dovecot: IMAP(bscott): Corrupted index cache file /home/bscott/Maildir/._NewMail-com/dovecot.index.cache: Corrupted virtual size for uid=234: 633278 != 633251 May cache file 4 12:34:44 f12barry dovecot: IMAP(bscott): Corrupted index cache file /home/bscott/Maildir/.Mailing Lists.Xorg Devel 2010-04/dovecot.index.cache: Corrupted virtual size for uid=312: 8884 != 8858 May 4 12:34:44 f12barry dovecot: IMAP(bscott): Corrupted index cache file /home/bscott/Maildir/.Mailing Lists.Xorg Devel 2010-04/dovecot.index.cache: Corrupted virtual size for uid=312: 8884 != 8858 ... more of the same... May 4 13:02:54 f12barry dovecot: IMAP(bscott): Corrupted index error corrupted index cache file /home/bscott/Maildir/.Mailing Lists.Xorg Users 2010-04/dovecot.index.cache: Corrupted virtual size for uid=38: 30392 != 30366 May 4 13:02:58 f12barry dovecot: IMAP(bscott): Corrupted index cache file /home/bscott/Maildir/.Mailing Lists.Xorg Users 2010-04/dovecot.index.cache: Corrupted virtual size for uid=43: 8796 != 8770 May 4 15:25:03 f12barry dovecot: IMAP(bscott): FETCH [] for mailbox _NewMail-com UID 48 got too little data: 3230 vs 3278 May 4 15:25:03 f12barry dovecot: IMAP(bscott): Maildir filename has wrong W value: /home/bscott/Maildir/._NewMail-com/cur/1271683097.M615087P3538.f12barry.office.onelan.co.uk,S=3154,W=3278:2,S May 4 15:25:03 f12barry dovecot: IMAP(bscott): Corrupted index cache file /home/bscott/Maildir/._NewMail-com/dovecot.index.cache: Broken virtual size for mail UID 48 May 4 15:25:03 f12barry dovecot: IMAP(bscott): Disconnected: FETCH failed bytes=15437134/33737060 May 4 17:45:41 f12barry dovecot: dovecot: Killed with signal 15 (by pid=7300 uid=0 code=kill) At this point I had only tail'ed the log and seen the issue with UID 48. I then: 1. stopped dovecot 2. deleted the ofending file 3. deleted the dovecot* files 4. started dovecot May 4 17:49:58 f12barry dovecot: Dovecot v1.2.11 starting up (core dumps disabled) May 4 17:52:17 f12barry dovecot: Killed with signal 15 (

 

Related content

error cache file seems to be corrupted

Error Cache File Seems To Be Corrupted table id toc tbody tr td div id toctitle Contents div ul li a href Onenote Cache File Corrupted a li li a href Dovecot index cache File Too Large a li li a href Corrupted Index Cache File a li li a href Dovecot Reindex Maildir a li ul td tr tbody table p Ciprian Adrian Rusen Share onFacebookGoogle TwitterPrint If you are using Microsoft Office or Office intensively chances are that its document cache will get corrupted one day When that happens using Office turns into a very frustrating experience that's