[Dovecot] dovecot.index.cache 1/3rd of INBOX size

Chris Wakelin c.d.wakelin at reading.ac.uk
Tue Jun 14 17:35:07 EEST 2005


I've noticed that my dovecot.index.cache file has got very large (24MB, 
which is more than 1/3 of my INBOX size). I've tried deleting (well, 
renaming) the dovecot.index.* files, and re-opening my INBOX, and the 
new dovecot.index.cache is only 90KB so far.

I'm using dovecot-1.0-stable and mbox format. My mail_cache_fields and 
mail_never_cache_fields are set to the default.

Looking back in the list archives, I found a message from Timo that 
suggested the cache entries are created for each message when the 
indexes are created, rather than when each message is accessed, so it 
ought not to grow? What happens when a message is deleted?

I "strings/grep" ed through the dovecot.index.cache file and it looks 
like it's not caching any headers it shouldn't (like Received, 
X-Spam-XYZ etc.), but they seem to occur multiple times for each message.

None of my other dovecot testers seem to have huge cache files (yet!).

Anybody else seen this?

Best Wishes,
Chris

-- 
--+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
Christopher Wakelin,                           c.d.wakelin at reading.ac.uk
IT Services Centre, The University of Reading,  Tel: +44 (0)118 378 8439
Whiteknights, Reading, RG6 2AF, UK              Fax: +44 (0)118 975 3094



More information about the dovecot mailing list