X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2bfb0ef07fb64314f5c4ded641a8c280df9c1d0b..2071840d7bb41d53efec9f75dc7f6beb126fa8de:/roles/matomo.rb?ds=sidebyside diff --git a/roles/matomo.rb b/roles/matomo.rb index ae632f898..f171e437a 100644 --- a/roles/matomo.rb +++ b/roles/matomo.rb @@ -5,19 +5,24 @@ default_attributes( :apache => { :mpm => "event", :event => { - :server_limit => 18, - :max_request_workers => 450, - :min_spare_threads => 50, - :max_spare_threads => 150, + :server_limit => 30, + :max_request_workers => 1000, + :threads_per_child => 50, + :min_spare_threads => 75, + :max_spare_threads => 175, :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" + :innodb_buffer_pool_instances => "128", + :innodb_buffer_pool_size => "128GB", + :innodb_flush_log_at_trx_commit => "2", + :innodb_log_file_size => "16GB", + :join_buffer_size => "1GB", + :key_buffer_size => "0", + :max_connections => "64" } } }