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