- Le plus récent
- Le plus de votes
- La plupart des commentaires
Any chance your usage of the database is less than it used to be, and you're scaling down to 0? Cold starts are pretty long - usually over 30 seconds so do cause timeouts.
No, it is set to a minimum level 2 capacity units.
For example, we have a button on our dashboard to reload a list of the user documents. Click that 4 times in a row and it will work, then the 5th one will fail. And may then work on the next 2, then timeout again. All running the same code on the same server.
And as quickly as the timeouts started, they stopped about 10 hours after they started. I did start a new database and the servers had no trouble connecting to it, so I was about to do a snapshot / restore to a new serverless database, when the old database started working again. No idea why.
Contenus pertinents
- demandé il y a un an
- demandé il y a 7 mois
- demandé il y a 2 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
Setting up some tests and I am totally lost. Simple php page on a new server setup:
$pdo = new PDO("mysql:host=$servername", $username, $password);
Keep reloading page, connects OK about 4/5 times.