fix: increase packets to avoid comm timeouts

See https://www.percona.com/blog/2016/05/16/mysql-got-an-error-reading-communication-packet-errors/.

For ruangrupa infra.
This commit is contained in:
decentral1se 2021-11-15 11:27:14 +01:00
parent 6bc059cfcd
commit 83a4789259
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
export FPM_TUNE_VERSION=v4
export NGINX_CONF_VERSION=v2
export MY_CNF_VERSION=v3
export MY_CNF_VERSION=v4
NC_APP_DIR="app:/var/www/html"

View File

@ -12,7 +12,7 @@ join_buffer_size = 256K
key_buffer_size = 16M
innodb_log_file_size = 256M
long_query_time = 1
max_allowed_packet = 64M
max_allowed_packet = 256M
max_connections = 100
max_heap_table_size = 64M
max_user_connections = 0