]> git.openstreetmap.org Git - chef.git/blobdiff - roles/piwik.rb
Send diff uploads to cgimap
[chef.git] / roles / piwik.rb
index 7bf549ab0793cc36530cfeeaba9aac8ffc9a82b6..1a6b52346b0cfaa67d98bc32895c7560eea062fb 100644 (file)
@@ -4,6 +4,18 @@ description "Role applied to all Piwik servers"
 default_attributes(
   :apache => {
     :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"
+      }
+    }
   }
 )