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 年前檢視次數 1073 次
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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南