Suddenly, since 20~30min ago, I started to get a ton of errors on Sentry about being unable to connect to the database.
checking the postgres app, I see this:
Health check for your postgres vm has failed. Your instance has hit resource limits. Upgrading your instance / volume size or reducing your usage might help.
HTTP GET http://172.19.134.146:5500/flycheck/vm: 500 Internal Server Error Output: [✗] checkDisk: 90.24 MB (9.1%!)(MISSING) free space on /data/ (32.68µs)
and
Health check for your postgres database has failed. Your database is malfunctioning.
I’m not sure if the missing free space is correct, this app barely has any traffic and generates no data.
update #3: database is still down, the primary shows this:
500 Internal Server Error
[✗] checkDisk: 145.12 MB (7.3%!)(MISSING) free space on /data/ (41.15µs)
[✓] checkLoad: load averages: 0.00 0.00 0.00 (83.29µs)
[✓] memory: system spent 0s of the last 60s waiting on memory (40.35µs)
[✓] cpu: system spent 312ms of the last 60s waiting on cpu (19.08µs)
[✓] io: system spent 300ms of the last 60s waiting on io (16.26µs)
while the replicas are showing something different:
[✓] checkDisk: 858.27 MB (87.1%) free space on /data/ (100.07µs)
[✓] checkLoad: load averages: 0.00 0.00 0.00 (101.73µs)
[✓] memory: system spent 12ms of the last 60s waiting on memory (35.97µs)
[✓] cpu: system spent 600ms of the last 60s waiting on cpu (29.35µs)
[✓] io: system spent 540ms of the last 60s waiting on io (24.26µs)
the volume was 1Gb, already scaled to 2Gb as mentioned above, what is going on?