Dhwanik Panchal
09/08/2022, 5:25 AMconnection_limit
parameter, nor any other parameters. We accepted the default ones.
Our ECS instance has 0.5 cores available with one instance (in the development environment), hence, the connection limit would be 2 * 0.5 + 1 = 2
for our instance.
However, while monitoring RDS, we notice a warning in our database. Here's what the warning said:
[Warning] Aborted connection xxx to db: '<database name>' user: '<user name>' host: '<host IP>' (Got an error reading communication packets)
I hope the given information is sufficient to know about the problem we are facing. Otherwise, I am happy to share more details if required.
Thanks!Harshit
09/08/2022, 8:47 AMDhwanik Panchal
09/08/2022, 8:53 AMinformation_schema.PROCESSLIST
table, we noticed that Prisma keeps the process in sleep until the configured TTL in RDS limit is reached (i.e. 300 seconds). Our team suspects this may be causing the issue.Harshit
09/08/2022, 9:00 AMVladi Stevanovic