[Dovecot] Corrupted index cache file and high CPU usage
hydra
hydrapolic at gmail.com
Fri Dec 23 19:08:02 EET 2011
Selinux wasn't running.
I can reproduce the problem with this setup:
- restore the maildir with the broken index.cache
- run `/usr/bin/doveadm -D expunge -A mailbox Trash savedbefore 1w` in an
infinite loop
- use horde webmail to access the mail with IMAP
- randomly display messages
I could reproduce the problem on:
Linux-2.6.37-hardened-r7
Linux-2.6.39-hardened-r8
Linux-3.0.4-hardened-r5
Linux-3.0.6-gentoo
Linux-3.1.4-gentoo
However I failed to reproduce the problem on:
Linux-2.6.36-hardened-r9
So it seems it was introduced in 2.6.37. I'm going to inspect it later on.
By wishing you a God blessed merry Christmas I thank you for the support ;)
On Fri, Dec 23, 2011 at 11:36 AM, Stan Hoeppner <stan at hardwarefreak.com>wrote:
> On 12/23/2011 4:12 AM, hydra wrote:
> > Yes, it is reproducible.
> >
> > About the file, I have tarred up the original maildir before I deleted
> the
> > dovecot.index.cache, so when I try to bring in the original file, a 'cat'
> > does no harm. Moreover, I've tried to do this will all files on the
> virtual
> > machine, same results - no harm.
>
> Is selinux running? If so, turn it off and see if that helps. And turn
> off anything/everything else on this Linux VM that's not running on the
> other Dovecot VMs you mentioned are working properly. Let's do some
> process of elimination here.
>
> --
> Stan
>
>
More information about the dovecot
mailing list