From 5fed4c4c4c115b59d090f149cfb0f43fe2cc9f20 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Thu, 21 Sep 2017 11:45:15 -0400 Subject: [PATCH] Reduce apache reverse proxy cache to 40GB We only have 100GB disk for tripleo-test-cloud-rh1, between AFS and apache cache, we've filled the disk. Drop down to 40GB until tripleo-test-cloud-rh1 is removed, then we can revert. Change-Id: I6e3d1b6f3202b375853919d1920bd945fe035855 Signed-off-by: Paul Belanger --- modules/openstack_project/manifests/mirror.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openstack_project/manifests/mirror.pp b/modules/openstack_project/manifests/mirror.pp index 2203de3405..f0591daa64 100644 --- a/modules/openstack_project/manifests/mirror.pp +++ b/modules/openstack_project/manifests/mirror.pp @@ -308,7 +308,7 @@ class openstack_project::mirror ( # Clean apache cache once an hour, keep size down to 50GiB. minute => '0', hour => '*', - command => 'flock -n /var/run/htcacheclean.lock htcacheclean -n -p /var/cache/apache2/proxy -t -l 51200M > /dev/null', + command => 'flock -n /var/run/htcacheclean.lock htcacheclean -n -p /var/cache/apache2/proxy -t -l 40960M > /dev/null', environment => 'PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin', require => [ File['/var/cache/apache2/proxy'],