Merge "Increase apache mirror cache to 70GB"
This commit is contained in:
commit
6bbc01e7c0
@ -346,10 +346,10 @@ class openstack_project::mirror (
|
|||||||
}
|
}
|
||||||
|
|
||||||
cron { 'apache-cache-cleanup':
|
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',
|
minute => '0',
|
||||||
hour => '*',
|
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',
|
environment => 'PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin',
|
||||||
require => [
|
require => [
|
||||||
File['/var/cache/apache2/proxy'],
|
File['/var/cache/apache2/proxy'],
|
||||||
|
Loading…
Reference in New Issue
Block a user