# Got an error reading communication packets

**URL:** <https://forums.percona.com/t/got-an-error-reading-communication-packets/11946>\
**Category:** MariaDB Server & Utilities\
**Created:** [August 27, 2021, 1:07pm UTC](https://forums.percona.com/t/got-an-error-reading-communication-packets/11946 "2021-08-27T13:07:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexander\_Varejao](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/alexander_varejao/32/4333_2.png) [@Alexander\_Varejao](https://forums.percona.com/u/Alexander_Varejao)\
**Post date:** [August 27, 2021, 1:07pm UTC](https://forums.percona.com/t/got-an-error-reading-communication-packets/11946/1 "2021-08-27T13:07:24Z")

</div>

Hi folks,

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:

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

```

I tried to increase some variables values like “wait\_timeout”, “max\_allowed\_packet” and “table\_definition\_cache” but that not solved the problem

It’s is my.cnf

```auto
===================================
[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

```auto
========================================
[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

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [August 27, 2021, 2:53pm UTC](https://forums.percona.com/t/got-an-error-reading-communication-packets/11946/2 "2021-08-27T14:53:01Z")

</div>

Hello @Alexander_Varejao ,  
“Aborted connection” is just a warning that a connection to MySQL has expired due to lack of activity. Your application might be holding connections open, or you have a load-balancer or connection pooler keeping long connections open. After several hours, MySQL force closes these to save memory and resources.
