Re: Error: Corrupted index cache file

2023-02-15 Thread Alessio Cecchi
Hi Sohin, I don't remember how was solved the problem with Ubuntu, but in my current setup (some hundreds of thousands of mailboxes), and in general with Maildir and small size files I prefer to use NFSv3 that have less "problem" with lock since it is stateless. Try also to remove all "ac" op

Re: Error: Corrupted index cache file

2023-02-13 Thread Sohin Vyacheslav
12.02.2023 21:36, Alessio Cecchi пишет: I've run into this error in the past in some situations: - one was during the migration from Centos 6 to 7, probably the NFS client in the kernel had some differences in cache management - one was with Ubuntu and NFS server in Google Cloud, I don't r

Re: Error: Corrupted index cache file

2023-02-12 Thread Alessio Cecchi
? And with what NFS version your Maildir are mounted? Are you using LDA or LMTP for delivery? After what change did the problem start? Ciao Il 10/02/23 16:15, Sohin Vyacheslav ha scritto: Hi All, In mail.log exists an error messages "Error: Corrupted index cache file /data/mail/vhos

Re: Error: Corrupted index cache file

2023-02-11 Thread Sohin Vyacheslav
11.02.2023 07:47, dove...@ptld.com пишет: By not allowing the same user to access two backends concurrently. One option and the best way is using dovecot director. However, it is soon to be removed from free community dovecot. Another way is using a proxy (example HaProxy) with sticky IP.

Re: Error: Corrupted index cache file

2023-02-10 Thread dovecot
It sounds like your NFS is somehow managing to break the files, this can happen easily if same user is accessed by two backends concurrently. how it's possible to resolve? By not allowing the same user to access two backends concurrently. One option and the best way is using dovecot director

Re: Error: Corrupted index cache file

2023-02-10 Thread Sohin Vyacheslav
10.02.2023 19:33, Aki Tuomi пишет: It sounds like your NFS is somehow managing to break the files, this can happen easily if same user is accessed by two backends concurrently. how it's possible to resolve? -- Best wishes Sohin Vyacheslav

Re: Error: Corrupted index cache file

2023-02-10 Thread Aki Tuomi
> On 10/02/2023 17:15 EET Sohin Vyacheslav wrote: > > > Hi All, > > In mail.log exists an error messages "Error: Corrupted index cache file > /data/mail/vhosts/domain.com/u...@domain.com/Maildir/dovecot.index.cache: > invalid record size" for some account

Error: Corrupted index cache file

2023-02-10 Thread Sohin Vyacheslav
Hi All, In mail.log exists an error messages "Error: Corrupted index cache file /data/mail/vhosts/domain.com/u...@domain.com/Maildir/dovecot.index.cache: invalid record size" for some accounts. I tried these steps to fix it: 1. Running commands # doveadm -D -v index -u u...@domain

Re: Error: Corrupted index cache file and Error: Maildir filename has wrong S value

2019-11-11 Thread Brent Clark via dovecot
Good day Guys We came across https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=661008 maildir_broken_filename_sizes = yes We tried and all worked. A question, is this a setting that one would enable in a production environment? Regards Brent On 2019/11/11 16:17, Brent Clark wrote: Good da

Re: Error: Corrupted index cache file and Error: Maildir filename has wrong S value

2019-11-11 Thread Brent Clark via dovecot
Good day Guys I forgot to add and mention a very important piece of the puzzle. We are making use of dovecots compression plugin. I.e. https://doc.dovecot.org/configuration_manual/zlib_plugin/#compression Regards Brent Clark On 2019/11/11 14:49, Brent Clark wrote: Good day Aki Thanks ever s

Re: Error: Corrupted index cache file and Error: Maildir filename has wrong S value

2019-11-11 Thread Brent Clark via dovecot
Good day Aki Thanks ever so much for replying. Interesting that you ask the version of dovecot. Any specific reason, this question.? To answer your question. dovecot-core 1:2.2.27-3+deb9u5 Regards Brent On 2019/11/11 12:27, Aki Tuomi wrote: What version are you running? Aki On 11.11.2019

Re: Error: Corrupted index cache file and Error: Maildir filename has wrong S value

2019-11-11 Thread Aki Tuomi via dovecot
What version are you running? Aki On 11.11.2019 12.26, Brent Clark via dovecot wrote: > Good day Guys > > Just an update, my colleague and I came across this script. > > https://www.dovecot.org/tools/maildir-size-fix.pl > > We made a backup, ran it, but unfortunately the problem still persists. >

Re: Error: Corrupted index cache file and Error: Maildir filename has wrong S value

2019-11-11 Thread Brent Clark via dovecot
Good day Guys Just an update, my colleague and I came across this script. https://www.dovecot.org/tools/maildir-size-fix.pl We made a backup, ran it, but unfortunately the problem still persists. Regards Brent On 2019/11/11 11:42, Brent Clark wrote: Good day Guys I have been met with a very

Error: Corrupted index cache file and Error: Maildir filename has wrong S value

2019-11-11 Thread Brent Clark via dovecot
Good day Guys I have been met with a very interesting set of error messages. Here is the snippet(s) https://pastebin.com/raw/nFf79Ebc (Sorry for all the redacted REMOVED_*.) Google is proving to be a bit challenging in helping and explaining. Could anyone please share how something like this

Re: [Dovecot] Error: Corrupted index cache file /xxx/yyy/zzz/indexes/.INBOX/dovecot.index.cache: invalid record size

2011-12-09 Thread Timo Sirainen
On 9.12.2011, at 16.30, flor...@coppint.com wrote: > Since a recent failure of our distributed file system (no loss of data > btw), Dovecot seems to have a problem with index cache files. > > For a > lot of accounts, I have this error in logs: > > Error: Corrupted index

[Dovecot] Error: Corrupted index cache file /xxx/yyy/zzz/indexes/.INBOX/dovecot.index.cache: invalid record size

2011-12-09 Thread florent
Hi all, I got a problem with a Dovecot IMAP/POP installation. Since a recent failure of our distributed file system (no loss of data btw), Dovecot seems to have a problem with index cache files. For a lot of accounts, I have this error in logs: Error: Corrupted index cache file /xxx

Re: [Dovecot] Many "Error: Corrupted index cache file /XXX/dovecot.index.cache: invalid record size"

2011-07-11 Thread Florent Bautista
rage = yes mmap_disable = yes (as adviced for NFS installation). But I'm still getting errors like this in POP/IMAP logs : Error: Corrupted index cache file /my_moosefs_fs/domain/user/indexes/.INBOX/dovecot.index.cache: invalid record size Sometimes my Dovecot LDA repairs these files, but

Re: [Dovecot] Many "Error: Corrupted index cache file /XXX/dovecot.index.cache: invalid record size"

2011-07-05 Thread Florent Bautista
ed for NFS installation). But I'm still getting errors like this in POP/IMAP logs : Error: Corrupted index cache file /my_moosefs_fs/domain/user/indexes/.INBOX/dovecot.index.cache: invalid record size Sometimes my Dovecot LDA repairs these files, but then it happens again... All my serv

[Dovecot] Many "Error: Corrupted index cache file /XXX/dovecot.index.cache: invalid record size"

2011-07-05 Thread Florent Bautista
on MooseFS (www.moosefs.org). The FS is mounted using FUSE. All my Dovecot servers have this configuration : mail_fsync = always mail_nfs_index = yes mail_nfs_storage = yes mmap_disable = yes (as adviced for NFS installation). But I'm still getting errors like this in POP/IMAP logs : Error: Corrup