X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c6eae39735ffc8e35d0e625cbe82093f7893b3d3..ebe2e14adaddd36a98a67188da4336d6be09122b:/roles/piwik.rb 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 => {