Commit 5bec794a authored by Jakub Klinkovský's avatar Jakub Klinkovský Committed by Sven-Hendrik Haase
Browse files

mariadb: bump mariadb_table_open_cache to the upstream default of 2000

The upstream default value is 2000 since 10.1.7:
https://mariadb.com/kb/en/server-system-variables/#table_open_cache

See also commit archlinux/infrastructure@f164d000
parent b2876d08
......@@ -37,7 +37,7 @@
postgres_max_connections: 1000
postgres_ssl: 'on'
postgres_shared_buffers: 4096MB
- { role: mariadb, mariadb_innodb_buffer_pool_size: '64M', mariadb_table_open_cache: '256', mariadb_query_cache_type: '0',
- { role: mariadb, mariadb_innodb_buffer_pool_size: '64M', mariadb_query_cache_type: '0',
mariadb_innodb_file_per_table: True }
- { role: sudo }
- { role: uwsgi }
......
......@@ -10,7 +10,7 @@
- { role: root_ssh }
- { role: certbot }
- { role: nginx }
- { role: mariadb, mariadb_innodb_buffer_pool_size: '64M', mariadb_table_open_cache: '256', mariadb_query_cache_type: '0',
- { role: mariadb, mariadb_innodb_buffer_pool_size: '64M', mariadb_query_cache_type: '0',
mariadb_innodb_file_per_table: True }
- { role: sudo }
- { role: php_fpm, php_extensions: ['iconv', 'memcached', 'mysqli', 'pdo_mysql'], zend_extensions: ['opcache'] }
......
......@@ -11,7 +11,7 @@
- { role: prometheus_exporters }
- { role: certbot }
- { role: nginx }
- { role: mariadb, mariadb_innodb_buffer_pool_size: '64M', mariadb_table_open_cache: '256', mariadb_query_cache_type: '0',
- { role: mariadb, mariadb_innodb_buffer_pool_size: '64M', mariadb_query_cache_type: '0',
mariadb_innodb_file_per_table: True }
- { role: sudo }
- { role: php_fpm, php_extensions: ['iconv', 'memcached', 'mysqli', 'pdo_mysql'], zend_extensions: ['opcache'] }
......
......@@ -10,7 +10,7 @@
- { role: root_ssh }
- { role: certbot }
- { role: nginx }
- { role: mariadb, mariadb_innodb_buffer_pool_size: '64M', mariadb_table_open_cache: '256', mariadb_query_cache_type: '0',
- { role: mariadb, mariadb_innodb_buffer_pool_size: '64M', mariadb_query_cache_type: '0',
mariadb_innodb_file_per_table: True }
- { role: sudo }
- { role: php_fpm, php_extensions: ['apcu', 'iconv', 'intl', 'mysqli'], zend_extensions: ['opcache'] }
......
......@@ -10,7 +10,7 @@
- { role: root_ssh }
- { role: certbot }
- { role: nginx }
- { role: mariadb, mariadb_innodb_buffer_pool_size: '64M', mariadb_table_open_cache: '256', mariadb_query_cache_type: '0',
- { role: mariadb, mariadb_innodb_buffer_pool_size: '64M', mariadb_query_cache_type: '0',
mariadb_innodb_file_per_table: True }
- { role: sudo }
- { role: php_fpm, php_extensions: ['apcu', 'iconv', 'intl', 'mysqli'], zend_extensions: ['opcache'] }
......
......@@ -28,7 +28,7 @@
roles:
- nginx
- spampd
- { role: mariadb, mariadb_innodb_buffer_pool_size: '64M', mariadb_table_open_cache: '256', mariadb_query_cache_type: '0',
- { role: mariadb, mariadb_innodb_buffer_pool_size: '64M', mariadb_query_cache_type: '0',
mariadb_innodb_file_per_table: True }
# luna is hosting mailman lists; this postfix role does not cater to this yet
# TODO: make postfix role handle mailman config?
......
......@@ -4,7 +4,7 @@ mariadb_skip_networking: True
mariadb_key_buffer_size: '16M'
mariadb_max_allowed_packet: '16M'
mariadb_table_open_cache: '64'
mariadb_table_open_cache: '2000'
mariadb_sort_buffer_size: '1M'
mariadb_net_buffer_length: '8K'
mariadb_read_buffer_size: '256K'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment