public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Commit
[MySQL] Some tweaks to lower RAM consumption, thanks to @Thomas2500
79bcbe5a
data/conf/mysql/my.cnf | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
Diff
diff --git a/data/conf/mysql/my.cnf b/data/conf/mysql/my.cnf
index c31e9d4c..fbcd367b 100644
--- a/data/conf/mysql/my.cnf
+++ b/data/conf/mysql/my.cnf
@@ -7,16 +7,18 @@ collation-server = utf8mb4_unicode_ci
#innodb_large_prefix = TRUE
#sql_mode=IGNORE_SPACE,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
max_allowed_packet = 192M
-max-connections = 500
+max-connections = 350
+key_buffer_size = 0
+read_buffer_size = 128K
+sort_buffer_size = 1M
+innodb_buffer_pool_size = 8M
+read_rnd_buffer_size = 256K
+tmp_table_size = 16M
+performance_schema = 0
innodb-strict-mode = 0
-innodb_buffer_pool_size = 128M
-key_buffer_size = 24M
thread_cache_size = 8
query_cache_type = 0
query_cache_size = 0
-sort_buffer_size = 16M
-read_rnd_buffer_size = 2M
-tmp_table_size = 48M
max_heap_table_size = 48M
thread_stack = 128K
skip-host-cache