Got an error reading communication packets

67 views
Skip to first unread message

frater.a...@gmail.com

unread,
Aug 19, 2021, 5:01:11 PM8/19/21
to codership
Hi folks,

(sorry my poor english)

I installed a Galera Cluster with five nodes some months ago. Everything worked fine but since last nigth I have this warning in all my cluster nodes:

[Warning] Aborted connection 11745 to db: 'XXX' user: 'YYY' host: 'ZZZ' (Got an error reading communication packets)

It's is my.cnf
===================================
[client]
port            = 3306
socket          = /var/run/mysqld/mysqld.sock

[mysqld_safe]
socket          = /var/run/mysqld/mysqld.sock
nice            = 0

[mysqld]
user                       = mysql
socket                     = /var/run/mysqld/mysqld.sock
bind-address               = ::
port                       = 3306
basedir                    = /usr
datadir                    = /var/lib/mysql
tmpdir                     = /var/lib/mysql/tmp
skip-external-locking
max_heap_table_size        = 64M
tmp_table_size             = 64M
key_buffer                 = 1024M
aria-pagecache-buffer-size = 1024M
table_definition_cache     = 1024
thread_cache_size          = 8
query_cache_size           = 256M
open_files_limit           = 8192
thread_handling            = pool-of-threads
max_allowed_packet         = 512M

slow_query_log             = 1
slow_query_log_file        = /var/log/mysql/slow.log
max_connections            = 8192
max_user_connections       = 0
log_error                  = /var/log/mysql/error.log
max_connect_errors         = 999999999
wait_timeout               = 300

thread_concurrency         = 16

query_cache_limit          = 4M
general_log_file           = /var/log/mysql/mysql.log

server-id                  = 1

init-file                  = /etc/mysql/init.sql

[mysqldump]
quick
max_allowed_packet = 256M

[mysql]
no-auto-rehash

[isamchk]
key_buffer        = 256M
sort_buffer_size  = 256M
read_buffer       = 2M
write_buffer      = 2M

[myisamchk]
key_buffer        = 256M
sort_buffer_size  = 256M
read_buffer       = 2M
write_buffer      = 2M

[mysqlhotcopy]
interactive-timeout

!includedir /etc/mysql/conf.d/



And my /etc/mysql/conf.d/galera.cnf
========================================
[mysqld]
binlog_format=ROW
default-storage-engine=innodb
innodb_autoinc_lock_mode=2
bind-address= ::

# Galera Provider Configuration
wsrep_on=ON
wsrep_provider=/usr/lib/galera/libgalera_smm.so

# Galera Cluster Configuration
wsrep_cluster_name="auth_replication"
wsrep_cluster_address="gcomm://x.x.x.x,y.y.y.y,z.z.z.z,w.w.w.w,f.f.f.f"

# Galera Synchronization Configuration
wsrep_sst_method=rsync

# Galera Node Configuration
wsrep_node_address="x.x.x.x"
wsrep_node_name="NAME"

Could someone help me ?

Thanks



frater.a...@gmail.com

unread,
Aug 25, 2021, 2:36:55 PM8/25/21
to codership
Hi folks,

I tried to increase some variables values like "wait_timeout", "table_definition_cache" and "max_allowed_packet" but that not solved the problem

Could someone help me ?

Thanks
Reply all
Reply to author
Forward
0 new messages