]> git.openstreetmap.org Git - chef.git/commitdiff
nominatim: use apache ListenCoresBucketsRatio
authorGrant Slater <git@firefishy.com>
Tue, 5 Nov 2019 23:49:31 +0000 (23:49 +0000)
committerGrant Slater <git@firefishy.com>
Tue, 5 Nov 2019 23:49:31 +0000 (23:49 +0000)
cookbooks/apache/templates/default/httpd.conf.erb
roles/nominatim.rb

index 81c8f6e9ff60eb3977e909e50567f089b5feb7d9..62533efae0512bee01b91b50e0f8e432591ab6d6 100644 (file)
@@ -50,6 +50,9 @@ MaxConnectionsPerChild <%= node[:apache][:event][:max_connections_per_child] %>
 <% if node[:apache][:event][:async_request_worker_factor] -%>
 AsyncRequestWorkerFactor <%= node[:apache][:event][:async_request_worker_factor] %>
 <% end -%>
+<% if node[:apache][:event][:listen_cores_buckets_ratio] -%>
+ListenCoresBucketsRatio <%= node[:apache][:event][:listen_cores_buckets_ratio] %>
+<% end -%>
 <% end -%>
 
 # Default to UTF-8
index 50fa0f48447a66ae903032c8f10079e2c6475695..9bfcc288d2dad4112584498adc1870ee03812d8e 100644 (file)
@@ -23,7 +23,8 @@ default_attributes(
       :threads_per_child => 50,
       :min_spare_threads => 125,
       :max_spare_threads => 925,
-      :async_request_worker_factor => 4
+      :async_request_worker_factor => 4,
+      :listen_cores_buckets_ratio => 6
     }
   },
   :apt => {