From e3986ef9ac0e02ffbcdcd1bd5c63cf4531fe111b Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Sun, 8 Dec 2019 16:23:16 +0000 Subject: [PATCH] Increase some tilecaches nginx cache --- roles/cherufe.rb | 2 +- roles/chrysophylax.rb | 7 +++++++ roles/gorynych.rb | 3 ++- roles/longma.rb | 3 ++- roles/saphira.rb | 2 +- roles/stormfly-02.rb | 7 +++++++ roles/toothless.rb | 7 +++++++ roles/trogdor.rb | 7 +++++++ 8 files changed, 34 insertions(+), 4 deletions(-) diff --git a/roles/cherufe.rb b/roles/cherufe.rb index e10feab2b..9d905a037 100644 --- a/roles/cherufe.rb +++ b/roles/cherufe.rb @@ -33,7 +33,7 @@ default_attributes( :nginx => { :cache => { :proxy => { - :max_size => "4096M" + :max_size => "8192M" } } }, diff --git a/roles/chrysophylax.rb b/roles/chrysophylax.rb index 93c6b21a9..0717ab372 100644 --- a/roles/chrysophylax.rb +++ b/roles/chrysophylax.rb @@ -35,6 +35,13 @@ default_attributes( "rock /store/squid/rock-32768 45000 swap-timeout=200 slot-size=32768 min-size=16285 max-size=262144" ] }, + :nginx => { + :cache => { + :proxy => { + :max_size => "16384M" + } + } + }, :tilecache => { :tile_parent => "zurich.render.openstreetmap.org" } diff --git a/roles/gorynych.rb b/roles/gorynych.rb index 850929136..5a172a546 100644 --- a/roles/gorynych.rb +++ b/roles/gorynych.rb @@ -57,7 +57,8 @@ default_attributes( :nginx => { :cache => { :proxy => { - :directory => "/store/nginx-cache/proxy-cache" + :directory => "/store/nginx-cache/proxy-cache", + :max_size => "32768M" } } }, diff --git a/roles/longma.rb b/roles/longma.rb index 9b8855bff..a3502c6df 100644 --- a/roles/longma.rb +++ b/roles/longma.rb @@ -43,7 +43,8 @@ default_attributes( :nginx => { :cache => { :proxy => { - :directory => "/store.new-san/nginx-cache/proxy-cache" + :directory => "/store.new-san/nginx-cache/proxy-cache", + :max_size => "65536M" } } }, diff --git a/roles/saphira.rb b/roles/saphira.rb index 1c4b9a1b7..18574ba28 100644 --- a/roles/saphira.rb +++ b/roles/saphira.rb @@ -38,7 +38,7 @@ default_attributes( :nginx => { :cache => { :proxy => { - :max_size => "4096M" + :max_size => "16384M" } } }, diff --git a/roles/stormfly-02.rb b/roles/stormfly-02.rb index 25f435735..25cce34ae 100644 --- a/roles/stormfly-02.rb +++ b/roles/stormfly-02.rb @@ -31,6 +31,13 @@ default_attributes( "rock /store/squid/rock-32768 45000 swap-timeout=200 slot-size=32768 min-size=16285 max-size=262144" ] }, + :nginx => { + :cache => { + :proxy => { + :max_size => "65536M" + } + } + }, :tilecache => { :tile_parent => "corvallis.render.openstreetmap.org" } diff --git a/roles/toothless.rb b/roles/toothless.rb index fefc1e484..6d4e7e781 100644 --- a/roles/toothless.rb +++ b/roles/toothless.rb @@ -35,6 +35,13 @@ default_attributes( "rock /store/squid/rock-32768 22800 swap-timeout=200 slot-size=32768 min-size=16285 max-size=262144" ] }, + :nginx => { + :cache => { + :proxy => { + :max_size => "16384M" + } + } + }, :tilecache => { :tile_parent => "london.render.openstreetmap.org" } diff --git a/roles/trogdor.rb b/roles/trogdor.rb index 09dd94576..e1c040b4a 100644 --- a/roles/trogdor.rb +++ b/roles/trogdor.rb @@ -38,6 +38,13 @@ default_attributes( "rock /store/squid/rock-32768 45000 swap-timeout=200 slot-size=32768 min-size=16285 max-size=262144" ] }, + :nginx => { + :cache => { + :proxy => { + :max_size => "131072M" + } + } + }, :tilecache => { :tile_parent => "amsterdam.render.openstreetmap.org" } -- 2.39.5