Univention Bugzilla – Bug 37381
squid cache should be configured via ucr
Last modified: 2016-11-23 14:34:18 CET
Squid can not be configured via ucr variable to use another cache directory or a smaller/bigger cache size. This would be nice and helpful in large environments. ucr set squid/cache/size ucr set squid/cache/l1_size ucr set squid/cache/l2_size ucr set squid/cache/directory more info about cache_dir http://www.squid-cache.org/Doc/config/cache_dir/
Our default is still: > cache_dir ufs /var/spool/squid3 256 16 256 Which means: - "ufs" is the default Squid storage format - /var/spool/squid3 will be used as cache directory - the cache directory size is limited to 256 MB of disk space - there will be 16 first-level subdirectories - there will be 256 second-level subdirectories 256 MB doesn't seem much when it comes to web content nowadays. Every UCS@school slave I came across in the last weeks hit that limit (/var/spool/squid3 using around ~ 250 MB of disk space while the HIT rates in access.log were really low). It would definitely help a lot if increasing the cache dir size would not require to fork the UCR template.
added squid/cache/format?ufs squid/cache/directory?/var/spool/squid3 squid/cache/size?512 squid/cache/l1_size?16 squid/cache/l2_size?256 univention-squid.yaml 9.0.2-3.237.201611141120 merged to 4.2-0
OK: code OK: advisory OK: manual tests OK: merge to 4.2
<http://errata.software-univention.de/ucs/4.1/332.html>