Postgres max active users error

We are seeing “transient failures”, PostgresException 53300: sorry, too many clients already
in container deployed Postgres DB.

We would like to know if this is a resource limitation related to the container size?

(if we can exclude this from our debugging, leaving us with Postgres config and/or the code)

Thanks

Hi,

It’s a PostgreSQL limitation. You can find more info here:

Personal advise: you should use shared connections. Ensure some do not get closed too early.

Pierre