Terminating connection due to serverless scale event timeout

0

I am getting sporadic connection timeouts when running on Aurora withe the following message:

"terminating connection due to serverless scale event timeout"

This happens when increased load on the server causes the cluster to scale.

Has anyone seen this on their cluster and have any advice on how to resolve it?

Cluster Details

Engine
Aurora PostgreSQL

Region & AZ
us-west-2

Capacity settings
Minimum Aurora capacity unit
2 capacity units
Maximum Aurora capacity unit
384 capacity units
Pause compute capacity after consecutive minutes of inactivity
5 minutes
Force scaling the capacity to the specified values when the timeout is reached
Enabled

Encryption
Enabled

Maintenance window
sat:12:30-sat:13:00 UTC (GMT)

dbstu
已提问 4 年前1074 查看次数
2 回答
0
已接受的回答

Looks to me like this is intended behavior: you have enabled "Force scaling the capacity to the specified values when the timeout is reached", which means that connections which block a scaling event due to active (probably long-running) transactions will be terminated when the scaling timeout is reached. If you want the scaling event to wait for all active transactions to finish, you'll need to disable that setting...

-Kevin J (PM for Aurora PostgreSQL)

已回答 4 年前
0

Hi, I am currently having the very same issue.

But at least for me, if I disable the option to "force autoscale", I get an error in the Aurora events log with the message: "Scaling point wasn't found".
How to proceed?

已回答 3 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则