Tune apache on tile servers
authorTom Hughes <tom@compton.nu>
Sat, 3 Dec 2016 19:20:35 +0000 (19:20 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 3 Dec 2016 19:20:35 +0000 (19:20 +0000)
roles/tile.rb

index 2017383..4d2683a 100644 (file)
@@ -17,9 +17,9 @@ default_attributes(
       :server_limit => 60,
       :max_request_workers => 1200,
       :threads_per_child => 20,
-      :min_spare_threads => 30,
-      :max_spare_threads => 540,
-      :max_connections_per_child => 100000,
+      :min_spare_threads => 300,
+      :max_spare_threads => 1200,
+      :max_connections_per_child => 0,
       :async_request_worker_factor => 4
     }
   },