]> git.openstreetmap.org Git - chef.git/commitdiff
piwik: Switch to apache event mpm
authorGrant Slater <git@firefishy.com>
Sun, 30 Aug 2020 01:02:13 +0000 (02:02 +0100)
committerGrant Slater <git@firefishy.com>
Sun, 30 Aug 2020 01:02:13 +0000 (02:02 +0100)
roles/piwik.rb

index 01a72be01d90f8d98e539332b9f73c353940d30a..7f161753b54a5a911c8aef718b3fb20225282ce5 100644 (file)
@@ -3,9 +3,13 @@ description "Role applied to all Piwik servers"
 
 default_attributes(
   :apache => {
-    :worker => {
+    :mpm => "event",
+    :event => {
       :server_limit => 18,
-      :max_request_workers => 450
+      :max_request_workers => 450,
+      :min_spare_threads => 50,
+      :max_spare_threads => 150,
+      :listen_cores_buckets_ratio => 4
     }
   },
   :mysql => {