From: Tom Hughes Date: Wed, 30 Dec 2020 10:05:07 +0000 (+0000) Subject: Set load average limit for re-renders to number of CPU threads X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/f65e6e5bdfdab789a385847963b9c1ffa799a6e3 Set load average limit for re-renders to number of CPU threads --- diff --git a/cookbooks/tile/templates/default/render-lowzoom.erb b/cookbooks/tile/templates/default/render-lowzoom.erb index 390244a62..95e4ed6e8 100644 --- a/cookbooks/tile/templates/default/render-lowzoom.erb +++ b/cookbooks/tile/templates/default/render-lowzoom.erb @@ -18,7 +18,7 @@ function update_<%= style %> --socket=/var/run/renderd/renderd.sock \ --num-threads=<%= node[:cpu][:total] - 1 %> \ --map="<%= style %>" \ - --max-load=70 \ + --max-load=<%= node[:cpu][:total] %> \ --min-zoom=0 --max-zoom=12 } diff --git a/cookbooks/tile/templates/default/update-lowzoom.erb b/cookbooks/tile/templates/default/update-lowzoom.erb index ce91eb48f..85f32c13d 100644 --- a/cookbooks/tile/templates/default/update-lowzoom.erb +++ b/cookbooks/tile/templates/default/update-lowzoom.erb @@ -14,7 +14,7 @@ function update_tiles --socket=/var/run/renderd/renderd.sock \ --num-threads=<%= node[:cpu][:total] - 1 %> \ --map="<%= @style %>" \ - --max-load=70 \ + --max-load=<%= node[:cpu][:total] %> \ --min-zoom=0 --max-zoom=12 }