]> git.openstreetmap.org Git - chef.git/blobdiff - roles/matomo.rb
Tighten mod_evasive restrictions for the main site
[chef.git] / roles / matomo.rb
index b3ac245814113e9df0bf4c80f6a48fd8709c821f..f171e437a79022e5338daf94e477bdfa8a05cbe0 100644 (file)
@@ -16,9 +16,13 @@ default_attributes(
   :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"
       }
     }
   }