X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/933e6016a75e6ce7ca2cc128a01afdcf1506e42f..9a359c324e75d9f7c7fdff1900bff5c4730850a7:/roles/piwik.rb diff --git a/roles/piwik.rb b/roles/piwik.rb index 1a6b52346..7f161753b 100644 --- a/roles/piwik.rb +++ b/roles/piwik.rb @@ -3,9 +3,13 @@ description "Role applied to all Piwik servers" default_attributes( :apache => { - :mpm => "prefork", - :prefork => { - :max_request_workers => 450 + :mpm => "event", + :event => { + :server_limit => 18, + :max_request_workers => 450, + :min_spare_threads => 50, + :max_spare_threads => 150, + :listen_cores_buckets_ratio => 4 } }, :mysql => {