Postgres closing connections unexpectedly

I have a dockerized python app (django) and I noticed recently that postgres is dropping connections and I’m getting 500’s since requests cannot finish.

The exact error I get from the postgres driver is
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.

I did not see anything suspicious in the postgres logs and the metrics are well below limit.

I tried restarting the db but the problem persists.

I would appreciate any tips to either debug but hopefully address the issue.

Thanks!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.