]> git.openstreetmap.org Git - chef.git/blobdiff - roles/web-backend.rb
Switch web-backend to apache mpm event
[chef.git] / roles / web-backend.rb
index d59ce812e00c9608aa0301b520725e70f95477b2..a3cf9413bebdd28931e749a7342c0a8c68d9f552 100644 (file)
@@ -3,9 +3,10 @@ description "Role applied to all web/api backend servers"
 
 default_attributes(
   :apache => {
-    :mpm => "worker",
-    :worker => {
-      :max_connections_per_child => 10000
+    :mpm => "event",
+    :event => {
+      :max_connections_per_child => 10000,
+      :async_request_worker_factor => 4
     }
   },
   :logstash => {