]> git.openstreetmap.org Git - chef.git/commitdiff
Tune apache on tile servers to avoid repeated up/down scaling
authorTom Hughes <tom@compton.nu>
Thu, 27 Oct 2016 20:46:09 +0000 (21:46 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 27 Oct 2016 20:46:09 +0000 (21:46 +0100)
roles/tile.rb

index 26cd98e5879d15b3134f40e3f3fc2025314367ff..00aa1f82a65194882674e5068d0542bc4be58af5 100644 (file)
@@ -18,8 +18,9 @@ default_attributes(
       :max_request_workers => 1200,
       :threads_per_child => 20,
       :min_spare_threads => 30,
-      :max_spare_threads => 180,
-      :max_connections_per_child => 100000
+      :max_spare_threads => 540,
+      :max_connections_per_child => 100000,
+      :async_request_worker_factor => 4
     }
   },
   :munin => {