Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 14301

pgbouncer active clients always increasing - Connections not becoming idle or being removed

$
0
0

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


Viewing all articles
Browse latest Browse all 14301

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>