From: | Nicola Contu <nicola(dot)contu(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)lists(dot)postgresql(dot)org |
Cc: | Alessandro Aste <Alessandro(dot)aste(at)gtt(dot)net> |
Subject: | Pgbouncer discard all |
Date: | 2018-10-10 15:03:54 |
Message-ID: | CAMTZZh35FFGnOkgT1AunYQyVccwmPRS2W9LhKgs9+3Rv0mr1xg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hello,
we are running pgbouncer 1.9.1 connected to postgres 10.5
Sometimes we are seeing a lot of waiting connections with this query :
DISCARD ALL
This is our pgbouncer config :
[databases]
dev = host=10.10.10.1 port=5432 dbname=dev auth_user=pgbouncer pool_size=120
[pgbouncer]
listen_port = 6543
listen_addr = *
auth_type = md5
auth_file = /etc/pgbouncer/users.txt
auth_query = select uname,phash from user_lookup($1)
logfile = /var/log/pgbouncer.log
pidfile = /home/postgres/pgbouncer.pid
admin_users = admin
user = postgres
max_db_connections = 220
log_connections = 0
log_disconnections = 0
Do you think this can depend on the server_idle_timeout default config
value?
Thanks a lot,
Nicola
From | Date | Subject | |
---|---|---|---|
Next Message | Fabio Pardi | 2018-10-10 15:31:00 | Re: Pgbouncer discard all |
Previous Message | Bryce Pepper | 2018-10-10 14:37:13 | RE: RHEL 7 (systemd) reboot |