From 9bec46ed2c497980bad9370b994c7666469e8ef9 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Thu, 28 Oct 2021 11:29:17 -0700 Subject: [PATCH] Reduce htcachclean limit on our mirrors We previously set the limit to 70200M on a ~98GB filesystem. Unfortunately we are able to jump from the ~70GB limit to a full filesystem before htcachclean happens to run again. Reduce the limit to 60000M to give us more headroom and hopefully avoid filling the fs between cache clean runs. Change-Id: I8aa45eb0c396b54dbb3ec84e5ba8fd4ec7da9e27 --- playbooks/roles/mirror/tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/roles/mirror/tasks/main.yaml b/playbooks/roles/mirror/tasks/main.yaml index 68eaf033f1..0eee9a3c49 100644 --- a/playbooks/roles/mirror/tasks/main.yaml +++ b/playbooks/roles/mirror/tasks/main.yaml @@ -150,6 +150,6 @@ cron: name: Apache cache cleanup state: present - job: /usr/bin/flock -n /var/run/htcacheclean.lock /usr/bin/htcacheclean -n -p /var/cache/apache2/proxy -t -l 70200M > /dev/null + job: /usr/bin/flock -n /var/run/htcacheclean.lock /usr/bin/htcacheclean -n -p /var/cache/apache2/proxy -t -l 60000M > /dev/null minute: '0' hour: '*'