[GENERAL] pgbouncer increase pool_size, reload does not work - Mailing list pgsql-general

From alexanderfelipewo
Subject [GENERAL] pgbouncer increase pool_size, reload does not work
Date
Msg-id 1486034865691-5942273.post@n3.nabble.com
Whole thread Raw
Responses Re: [GENERAL] pgbouncer increase pool_size, reload does not work  (Jehan-Guillaume de Rorthais <ioguix@free.fr>)
Re: [GENERAL] pgbouncer increase pool_size, reload does not work  (Adrian Klaver <adrian.klaver@aklaver.com>)
List pgsql-general
hello!

i have a question for pgbouncer in case someone has faced this and there is
a solution available.

i have a db with pgbouncer where the pool_size is set to 50 (i ve noticed
this using both session/transaction modes). Sometimes there are waiting
sessions b/c more than 50 want to execute sth at once and usually each query
is not so fast. So let's say i want to increase the pool_size from 50 to 70.
I change the config file and then login to pgbouncer where i run a
'reload;'. Now when i check the 'show config' i see the new value in the
'default_pool_size' parameter.

BUT

the problem is that the amount of servers is still 50 and does not go up to
70. At the same time there are clients in a 'waiting' state. If i do a
restart then it will work and the servers will be able to go up to 70.

I ve tried these in different databases and it doesnt happen all the time
but it does happen pretty often.
Has anyone else seen this? if so, is there a solution (except restarting) or
explanation?


thank you in advance



--
View this message in context:
http://postgresql.nabble.com/pgbouncer-increase-pool-size-reload-does-not-work-tp5942273.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: [GENERAL] Re: Using different GCC, CFLAGS, CCFLAGS and CPPFLAGS to compile Postgres and PostGIS?
Next
From: Job
Date:
Subject: [GENERAL] Very strange problem on index