X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/3a4b1c2078cd515e93a5f1bf8967f380fbd1646f..878f9a11eb3c9331874963e7ca77eedf0a4506c2:/roles/piwik.rb diff --git a/roles/piwik.rb b/roles/piwik.rb index b15472dc8..1a6b52346 100644 --- a/roles/piwik.rb +++ b/roles/piwik.rb @@ -3,7 +3,19 @@ description "Role applied to all Piwik servers" default_attributes( :apache => { - :mpm => "prefork" + :mpm => "prefork", + :prefork => { + :max_request_workers => 450 + } + }, + :mysql => { + :settings => { + :mysqld => { + :innodb_buffer_pool_instances => "8", + :innodb_buffer_pool_size => "16GB", + :innodb_flush_log_at_trx_commit => "2" + } + } } )