Production database randomly going down and not recovering

Try running fly image update. The latest postgres release includes (1) less chatty logs and (2) some improvements that could make it more resilient to this issue.

I’m hoping the more efficient logs will give you an idea why the databases is crashing. Exit Code: 2 means something with Postgres failed.