X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a7d96c8358a00088b485fadb5966eb4b231d2ff1..b2567ba04c9d6b93e2d3b85244a13dfdc1b0e3d3:/roles/piwik.rb?ds=inline diff --git a/roles/piwik.rb b/roles/piwik.rb index 7bf549ab0..7f161753b 100644 --- a/roles/piwik.rb +++ b/roles/piwik.rb @@ -3,7 +3,23 @@ description "Role applied to all Piwik servers" default_attributes( :apache => { - :mpm => "prefork", + :mpm => "event", + :event => { + :server_limit => 18, + :max_request_workers => 450, + :min_spare_threads => 50, + :max_spare_threads => 150, + :listen_cores_buckets_ratio => 4 + } + }, + :mysql => { + :settings => { + :mysqld => { + :innodb_buffer_pool_instances => "8", + :innodb_buffer_pool_size => "16GB", + :innodb_flush_log_at_trx_commit => "2" + } + } } )