Increase MinSpareThreads and MaxSpareThreads for nominatim
authorTom Hughes <tom@compton.nu>
Wed, 20 Dec 2017 08:49:04 +0000 (08:49 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 20 Dec 2017 08:49:04 +0000 (08:49 +0000)
roles/nominatim.rb

index 74cc74b..9564e11 100644 (file)
@@ -20,7 +20,9 @@ default_attributes(
     :event => {
       :server_limit => 32,
       :max_request_workers => 1600,
-      :threads_per_child => 50
+      :threads_per_child => 50,
+      :min_spare_threads => 125,
+      :max_spare_threads => 925
     }
   },
   :apt => {