Re: BUG #15759: Lot of idle connection created by "SETextra_float_digits = 3"

Поиск
Список
Период
Сортировка
От Tomas Vondra
Тема Re: BUG #15759: Lot of idle connection created by "SETextra_float_digits = 3"
Дата
Msg-id 20190416123705.m3ved2p656qxxaoh@development
обсуждение исходный текст
Ответ на BUG #15759: Lot of idle connection created by "SET extra_float_digits = 3"  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: BUG #15759: Lot of idle connection created by "SETextra_float_digits = 3"  (anup singh <midas.anup@gmail.com>)
Список pgsql-bugs
On Tue, Apr 16, 2019 at 05:31:42PM +0530, anup singh wrote:
>Hi Tomas,
>
>Thanks for your response. Kindly see the below screen shot where we have
>lot of idle connection which is reaching max pool size soon, but the actual
>request is only one.
>

I'm pretty sure that's the expected behavior of a connection pool. It
opens a bunch of connections, does some initialization on them (which
likely includes the "SET extra_float_digits = 3" bit) and then keeps them
around so that the application can use them.

You have not really explained how it's killing your application, though.
My guess is it's either not going through the connection pool (and so is
hitting max_connections or something) or it's misconfigured in some other
way. In any case, extra_float_digits is not the root cause here.

regards

--
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services




В списке pgsql-bugs по дате отправления:

Предыдущее
От: anup singh
Дата:
Сообщение: Re: BUG #15759: Lot of idle connection created by "SET extra_float_digits = 3"
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #15760: Error to start PGAdmin 4.5