Jump to content


Photo

minical cache growth


Minical entries are not being cleared. Coupled with the fact there are no date bounds in calendar this is leading to a huge number of entries in cache_store.

From chat: Brandon thinks there is code to periodically clear these already but I can't see anything.

The problem showed itself when a customer was unable to use the edit application form in manage apps & modules as the page load was timing out trying to populate the global caches multi-select box.

Status: Fixed
Version: 0
Fixed In: 0


6 Comments

I swear there was code to clear out older minical caches but don't see it now. Will look closer.
Two tiered approach

1) For alt cache stores, we updated IPB to enforce a 1 day TTL for caches. This will ensure older caches (not just minical caches) stored in APC, memcache, etc. are cleared out by the engine periodically.

2) Task was added for Calendar to explicitly clear out caches that were built/updated more than one week ago.
280,000 minical entries deleted in 4 minutes 40 seconds.<br /><br />Thanks for this one!
Updating Fixed In to: 0
Updating Version to: 0

Are you running the latest release?  This report is over a year old - I believe minical caching was disabled for Calendar since this report was closed.

Running the beta, on install, it went through killing off the minical caches.

Gotcha