X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a7d96c8358a00088b485fadb5966eb4b231d2ff1..a5a3b8b5d676e4e7c46f5124325d2ca799bee76f:/roles/piwik.rb diff --git a/roles/piwik.rb b/roles/piwik.rb index 7bf549ab0..886784be0 100644 --- a/roles/piwik.rb +++ b/roles/piwik.rb @@ -4,6 +4,19 @@ description "Role applied to all Piwik servers" default_attributes( :apache => { :mpm => "prefork", + :prefork => { + :server_limit => 450, + :max_request_workers => 450 + } + }, + :mysql => { + :settings => { + :mysqld => { + :innodb_buffer_pool_instances => "8", + :innodb_buffer_pool_size => "16GB", + :innodb_flush_log_at_trx_commit => "2" + } + } } )