X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/933e6016a75e6ce7ca2cc128a01afdcf1506e42f..2957f708c2abc2f7eee7eef7a524a2ece562950a:/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 => {