These are chat archives for collectiveaccess/support

22nd
Feb 2018
Axel Vankrunkelsven
@axelvnk_twitter
Feb 22 2018 11:11
Hi guys, we're having some problems with our providence installation
the cache folder is exploding in size
which eventually leads to an unresponsive application
CA_CACHE_TTL is set to 3600, which is the default i suppose
CollectiveAccess
@collectiveaccess
Feb 22 2018 14:19
@axelvnk_twitter Yes, it's a problem with Doctrine (which we rely upon). If you're running a busy site you can either [a] have a cron script clear the cache periodically or [b] use REDIS or memcache
The file based cache is the default because it's easy to set up and works ok for installations that see moderate traffic (ie. the majority). Replacing doctrine is on our todo list FWIW
We generally use redis. It works well.
Axel Vankrunkelsven
@axelvnk_twitter
Feb 22 2018 15:28
Thanks for the response. Okay I already have one that periodically rm -rf's te directory, but was wondering if there was a "real" solution to the problem.
CollectiveAccess
@collectiveaccess
Feb 22 2018 15:28
The "real" solution is to use redis