system-config/inventory/service/host_vars/mirror01.regionone.linaro.opendev.org.yaml
Clark Boylan 847a835d3a Limit linaro mirror Apache cache size
The linaro mirror node only has a 100GB cache volume to be shared
between OpenAFS and Apache. Each cache gets a ~50GB filesystem dedicated
to it. Unfortunately we were telling Apache's cache pruning system to
limit to 60000M which is large than 50GB. THis resulted in the cache
filling up and I think it may also be the source of errors.

Address this my reconfiguring htcacheclean to limit to ~40GB. This limit
is set with some buffer space as htcacheclean runs periodically and has
to keep things low enough to avoid filling up.

Change-Id: I7af3daa396b1631feefed5952460b8a9710b25b5
2024-07-12 11:29:36 -07:00

12 lines
400 B
YAML

letsencrypt_certs:
mirror01-regionone-linaro-main:
- mirror01.regionone.linaro.opendev.org
- mirror.regionone.linaro.opendev.org
# Allocated 100GB volume for this mirror, so openafs cache has to be <
# 95%; we go for 45gb
afs_client_cache_size: '45000000'
# Simiarly we need to limit the size of the apache mirror to < 50GB
# and the default is 60000M.
mirror_apache_cache_limit: '40000M'