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 <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-09-21 11:45:15 -04:00
parent 59c3cc085b
commit 5fed4c4c4c
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
1 changed files with 1 additions and 1 deletions

View File

@ -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'],