Need help with db connection terminating

I need help with this error I’ve been having for weeks now. My Strapi is deployed as a web service and it’s connected to a Postgres database hosted by Render. This error happens multiple times a day. I’m assuming this SQL query is failing: I don’t know why it’s being called and why it’s failing.

Hi Daniel,

It seems there’s a related thread on the Strapi repo about this error.

It sounds like this may happen if the service or database doesn’t have enough resources - note Strapi’s recommended resource requirements: It also might be worth looking into your Strapi database config to see if you need to fine tune any connection settings.