X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7171b94a0526152910353dbf1f07a0ee597976da..29d6902c7e91f9910a831aa993eb361f47dc8549:/cookbooks/tile/attributes/default.rb?ds=sidebyside diff --git a/cookbooks/tile/attributes/default.rb b/cookbooks/tile/attributes/default.rb index 3d32e5632..c471f2475 100644 --- a/cookbooks/tile/attributes/default.rb +++ b/cookbooks/tile/attributes/default.rb @@ -17,3 +17,7 @@ default[:postgresql][:versions] |= [node[:tile][:database][:cluster].split("/"). default[:postgresql][:monitor_database] = "gis" default[:accounts][:users][:tile][:status] = :role + +default[:apache][:event][:server_limit] = node.cpu_cores * 5 / 4 +default[:apache][:event][:max_request_workers] = node.cpu_cores * node[:apache][:event][:threads_per_child] +default[:apache][:event][:max_spare_threads] = node.cpu_cores * node[:apache][:event][:threads_per_child]