X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c6eae39735ffc8e35d0e625cbe82093f7893b3d3..ab3cf06dd7f5ee5d793a683999bdd65e5d7f2ed0:/roles/piwik.rb?ds=sidebyside diff --git a/roles/piwik.rb b/roles/piwik.rb index 886784be0..7f161753b 100644 --- a/roles/piwik.rb +++ b/roles/piwik.rb @@ -3,10 +3,13 @@ description "Role applied to all Piwik servers" default_attributes( :apache => { - :mpm => "prefork", - :prefork => { - :server_limit => 450, - :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 => {