Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-25-2012, 03:02 PM
Trained Alumni
 
Posts: 7
Default imap cache directory not expiring files in Zimbra 7.1 [SOLVED]

Our mailbox servers don't seem to be clearing out imap cache files from /opt/zimbra/data/mailboxd/imap/cache. One has over 450,000 files in that directory (about 50G worth). Most of the files are months old.

Is this a bug? Anybody have a fix for it?

Alternately, has anyone deleted the cache .i4c files?

Last edited by j.eason; 01-27-2012 at 02:00 PM.. Reason: problem solved
Reply With Quote
  #2 (permalink)  
Old 01-25-2012, 08:05 PM
Moderator
 
Posts: 1,554
Default

there is a cron job to take care of this in 7.1.4. I think it just deletes files over a certain age, but don't quote me on this. I'd eiter upgrade, or do a dummy install on a test box and copy the cron job to your production machine
Reply With Quote
  #3 (permalink)  
Old 01-27-2012, 01:59 PM
Trained Alumni
 
Posts: 7
Default

Thanks bdial!

The cron job in 7.1.4 is:

# Delete old imap cache files
5 */2 * * * find /opt/zimbra/data/mailboxd/imap/cache -type f -mtime +7 -exec rm -f {} \; > /dev/null 2>&1
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.