Closed A1ve5 closed 8 years ago
For example the disk cache is not configured - it only stores the cache in memory.
cache_dir gets added but still something isn't optimal with these confs
You're right.
a)
Maybe having two cache_dirs is bad (for a small cluster) - as the requests are load-balanced between the caches (based on load by default). I took the smaller/default cache away and on the second reinstall of a compute node the cache was used quite a lot. Maybe we can remove the 100MB 1 cache? https://github.com/CSC-IT-Center-for-Science/ansible-role-squid/blob/master/templates/squid.conf.j2#L87
b) the extra cache is 100000 (100GB) - but / is only 50GB on all the clusters.
cache_dir ufs /squid/cache 100000 16 256
Putting this in review. Let's review in a few weeks (when this change hopefully has propagated to the clusters).
Adding to requirements - closing. Let's open a new issue if we want to improve more.
squid is mostly running on default configuration values. Cache size seems to be small. The fitness of its configurations should be re-assessed and if necessary fixed.