Tune apache on web frontends
authorTom Hughes <tom@compton.nu>
Tue, 22 Nov 2016 19:50:05 +0000 (19:50 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 22 Nov 2016 19:50:05 +0000 (19:50 +0000)
roles/web-frontend.rb

index d6c144a68f2f08d283b8a85f5d5e80607ce94318..5ad10684756cd122f9bc4cf20185226ea56b960c 100644 (file)
@@ -5,12 +5,13 @@ default_attributes(
   :apache => {
     :mpm => "event",
     :event => {
-      :server_limit => 40,
+      :server_limit => 20,
       :max_request_workers => 1000,
-      :min_spare_threads => 50,
-      :max_spare_threads => 150,
       :threads_per_child => 50,
-      :max_connections_per_child => 10000
+      :min_spare_threads => 50,
+      :max_spare_threads => 450,
+      :max_connections_per_child => 10000,
+      :async_request_worker_factor => 4
     }
   },
   :logstash => {