Change innodb buffer (should OOM kill on weak config)

pull/14/head
Emilien Mantel 2016-02-09 11:47:37 +01:00
parent c681545b61
commit f2c7679764
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ mysql_thread_concurrency: 2
# InnoDB settings. # InnoDB settings.
mysql_innodb_file_per_table: '1' mysql_innodb_file_per_table: '1'
mysql_innodb_buffer_pool_size: "{{ (ansible_memtotal_mb * 0.6) | round | int }}M" mysql_innodb_buffer_pool_size: "{{ (ansible_memtotal_mb * 0.2) | round | int }}M"
mysql_innodb_additional_mem_pool_size: '20M' # See: http://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html#sysvar_innodb_additional_mem_pool_size mysql_innodb_additional_mem_pool_size: '20M' # See: http://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html#sysvar_innodb_additional_mem_pool_size
mysql_innodb_log_file_size: '64M' mysql_innodb_log_file_size: '64M'
mysql_innodb_log_buffer_size: '8M' mysql_innodb_log_buffer_size: '8M'