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:
parent
6bc059cfcd
commit
83a4789259
2
abra.sh
2
abra.sh
|
@ -1,6 +1,6 @@
|
||||||
export FPM_TUNE_VERSION=v4
|
export FPM_TUNE_VERSION=v4
|
||||||
export NGINX_CONF_VERSION=v2
|
export NGINX_CONF_VERSION=v2
|
||||||
export MY_CNF_VERSION=v3
|
export MY_CNF_VERSION=v4
|
||||||
|
|
||||||
NC_APP_DIR="app:/var/www/html"
|
NC_APP_DIR="app:/var/www/html"
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ join_buffer_size = 256K
|
||||||
key_buffer_size = 16M
|
key_buffer_size = 16M
|
||||||
innodb_log_file_size = 256M
|
innodb_log_file_size = 256M
|
||||||
long_query_time = 1
|
long_query_time = 1
|
||||||
max_allowed_packet = 64M
|
max_allowed_packet = 256M
|
||||||
max_connections = 100
|
max_connections = 100
|
||||||
max_heap_table_size = 64M
|
max_heap_table_size = 64M
|
||||||
max_user_connections = 0
|
max_user_connections = 0
|
||||||
|
|
Loading…
Reference in New Issue