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