# Tuning for nginx fastcgi cache zone
default[:nginx][:cache][:fastcgi][:enable] = false
-default[:nginx][:cache][:fastcgi][:keys_zone] = "fastcgi_cache_zone:32M"
+default[:nginx][:cache][:fastcgi][:keys_zone] = "fastcgi_cache_zone:48M"
default[:nginx][:cache][:fastcgi][:inactive] = "45d"
-default[:nginx][:cache][:fastcgi][:max_size] = "2048M"
+default[:nginx][:cache][:fastcgi][:max_size] = "8192M"
# Tuning for nginx proxy cache zone
default[:nginx][:cache][:proxy][:enable] = false
-default[:nginx][:cache][:proxy][:keys_zone] = "proxy_cache_zone:32M"
+default[:nginx][:cache][:proxy][:keys_zone] = "proxy_cache_zone:48M"
default[:nginx][:cache][:proxy][:inactive] = "45d"
-default[:nginx][:cache][:proxy][:max_size] = "2048M"
+default[:nginx][:cache][:proxy][:max_size] = "8192M"
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
- access_log <%= node[:nginx][:access_log] %> main buffer=32k flush=1m;
+ access_log <%= node[:nginx][:access_log] %> main flush=1m;
<% else -%>
access_log off;
<% end -%>
- keepalive_timeout 30;
+ keepalive_timeout 20 20;
server_tokens off;
"rock /store/squid/rock-32768 45000 swap-timeout=200 slot-size=32768 min-size=16285 max-size=262144"
]
},
+ :nginx => {
+ :cache => {
+ :proxy => {
+ :max_size => "4096M"
+ }
+ }
+ },
:tilecache => {
:tile_parent => "vinadelmar.render.openstreetmap.org",
:tile_siblings => [
:cache_mem => "1024 MB",
:cache_dir => "coss /store/squid/coss-01 24000 block-size=8192 max-size=262144 membufs=30"
},
+ :nginx => {
+ :cache => {
+ :proxy => {
+ :max_size => "2048M"
+ }
+ }
+ },
:sysctl => {
:kvm => {
:comment => "Tuning for KVM guest",
:cache_mem => "12500 MB",
:cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
},
+ :nginx => {
+ :cache => {
+ :proxy => {
+ :max_size => "2048M"
+ }
+ }
+ },
:tilecache => {
:tile_parent => "germany.render.openstreetmap.org",
:tile_siblings => [
:cache_mem => "7500 MB",
:cache_dir => "coss /store/squid/coss-01 80000 block-size=8192 max-size=262144 membufs=80"
},
+ :nginx => {
+ :cache => {
+ :proxy => {
+ :max_size => "2048M"
+ }
+ }
+ },
:tilecache => {
:tile_parent => "france.render.openstreetmap.org",
:tile_siblings => [
"rock /store/squid/rock-32768 22800 swap-timeout=200 slot-size=32768 min-size=16285 max-size=262144"
]
},
+ :nginx => {
+ :cache => {
+ :proxy => {
+ :max_size => "4096M"
+ }
+ }
+ },
:tilecache => {
:tile_parent => "london.render.openstreetmap.org",
:tile_siblings => [
:cache_mem => "5100 MB",
:cache_dir => "coss /store/squid/coss-01 80000 block-size=8192 max-size=262144 membufs=80"
},
+ :nginx => {
+ :cache => {
+ :proxy => {
+ :max_size => "4096M"
+ }
+ }
+ },
:tilecache => {
:tile_parent => "budapest.render.openstreetmap.org",
:tile_siblings => [
:cache_mem => "6400 MB",
:cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
},
+ :nginx => {
+ :cache => {
+ :proxy => {
+ :max_size => "2048M"
+ }
+ }
+ },
:tilecache => {
:tile_parent => "baku.render.openstreetmap.org",
:tile_siblings => [