rds has a lot of messages Got an error reading communication packets

Viewed 8248

I faced with errors in RDS mysql 5.7 logs:

[Note] Aborted connection 239056 to db: 'db' user: 'prod' host: '172.54.8.641' (Got an error reading communication packets)

I reade alot of articls but I'm not able fixed my issue yet. Now I create new "Parameter groups" for rds with values:

wait_timeout - 28800
interactive_timeout - 28800
connect_timeout - 28800
max_allowed_packet - 1073741824
net_read_timeout - 20
net_write_timeout - 20

and absolutely nothing. I held meeting with developers and saw code when I made shure that connections was closed after finish.

1 Answers

It was application mistake. Bad closed connections.

Related