I am facing an issue with pgbouncer connected to a PostgreSQL database. The problem is that the active client connections continuously increase and eventually reach the max client connection limit. I have configured pgbouncer with the pool mode set to 'transaction'.
Even when the queries are completed and transactions are committed, the connections are not becoming idle or being removed from the pool. This behavior leads to a situation where new connections cannot be established once the maximum limit is reached.
i have tried to set CONN_MAX_AGE=0