]> git.openstreetmap.org Git - chef.git/commitdiff
ridley: tweak apache config to hopefully improve health
authorGrant Slater <git@firefishy.com>
Thu, 10 Sep 2020 00:23:36 +0000 (01:23 +0100)
committerGrant Slater <git@firefishy.com>
Thu, 10 Sep 2020 00:23:36 +0000 (01:23 +0100)
roles/foundation.rb
roles/ridley.rb

index 6220831642491e998bfe5d8ea18447e791fc4420..85efc53f7a0b3f41e68d6949fb556921fd9115df 100644 (file)
@@ -2,10 +2,6 @@ name "foundation"
 description "Role applied to all OSMF servers"
 
 default_attributes(
-  :apache => {
-    :timeout => 60,
-    :keepalive => false
-  },
   :apt => {
     :sources => ["passenger"]
   },
index 856fa744e295679c9d6477ea5aa6c06292ab7241..136cfd7d04af463512e509076bf3609b9098db67 100644 (file)
@@ -7,6 +7,8 @@ default_attributes(
     :event => {
       :min_spare_threads => 50,
       :max_spare_threads => 150,
+      :max_connections_per_child => 10000,
+      :async_request_worker_factor => 4,
       :listen_cores_buckets_ratio => 4
     }
   },