Merge "Increase apache mirror cache to 70GB"

This commit is contained in:
Zuul 2018-07-05 18:46:34 +00:00 committed by Gerrit Code Review
commit 6bbc01e7c0

View File

@ -346,10 +346,10 @@ class openstack_project::mirror (
}
cron { 'apache-cache-cleanup':
# Clean apache cache once an hour, keep size down to 50GiB.
# Clean apache cache once an hour, keep size down to 70GiB.
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 70200M > /dev/null',
environment => 'PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin',
require => [
File['/var/cache/apache2/proxy'],