Re: BUG #15759: Lot of idle connection created by "SETextra_float_digits = 3" - Mailing list pgsql-bugs

From Francisco Olarte
Subject Re: BUG #15759: Lot of idle connection created by "SETextra_float_digits = 3"
Date
Msg-id CA+bJJbwqmXT3QJ9znXGHUy+XUbMKdQqpNouthDKozmk12QDUag@mail.gmail.com
Whole thread Raw
In response to Re: BUG #15759: Lot of idle connection created by "SETextra_float_digits = 3"  (anup singh <midas.anup@gmail.com>)
List pgsql-bugs
Anup:

On Tue, Apr 16, 2019 at 4:19 PM anup singh <midas.anup@gmail.com> wrote:
> We have Max 100 connection. If you see the screen shot in previous mail, most of the idle connection are taken by
"SETextra_float_digits = 3" bit. After sometime application says "fatal error - reached Max connection, 3 connection
arereserved for PG".
 

What Tomas was trying to tell you is that your connections are not
"taken" or "executing" the "set extra..." they are Idle, not doing
anything. When a conection is Idle, not doing anything, the "query
text" shows the last command executed, but it has already finished.

The root cause of your problem is probably a connection leak in your
application, or something like that, someone opening connections,
preparing them with the set and them forgetting about them without
closing, but given you have not told anything about your application
setup or other details there is nothing people can do to aid you (
except telling "you need to post more details" ).

Francisco Olarte.



pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #15761: ODBC: SQLForeignKeys-ResultSet-Column 'deferrablity'
Next
From: PG Bug reporting form
Date:
Subject: BUG #15762: Download URL not found