From: Tom Lane <tgl@sss.pgh.pa.us>
To: Deepak Rai <deepakraib@gmail.com>
Cc: David G. Johnston <david.g.johnston@gmail.com>
Cc: pgsql-jdbc@lists.postgresql.org
Subject: Re: BUG #16232: Database server connection limit exceeding
Date: Sun, 26 Jan 2020 11:04:51 -0500
Message-ID: <29778.1580054691@sss.pgh.pa.us> (raw)
In-Reply-To: <CABiotD1w8VZ1akw8sQQ-1p1BoW25KppBUgtNcR6FCMHcEyQE0A@mail.gmail.com>
References: <16232-26f076ca50acb16d@postgresql.org>
<CAKFQuwYL-b=xQ2vAU0+t0yzrpuQAtBJ3kLSOffYK42+1HiCztg@mail.gmail.com>
<CABiotD1w8VZ1akw8sQQ-1p1BoW25KppBUgtNcR6FCMHcEyQE0A@mail.gmail.com>
Deepak Rai <deepakraib@gmail.com> writes:
> We are actively monitoring database connections and total connection count
> was not more than 14. Max connections are allowed in the database is 300.
> May i know why this is occurring even though connection is not crossing its
> threshold.
Over-aggressive setting for superuser_reserved_connections, perhaps?
Another possibility is a whole lot of uncommitted prepared transactions.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, deepakraib@gmail.com, david.g.johnston@gmail.com, pgsql-jdbc@lists.postgresql.org
Subject: Re: BUG #16232: Database server connection limit exceeding
In-Reply-To: <29778.1580054691@sss.pgh.pa.us>
References: <16232-26f076ca50acb16d@postgresql.org> <CAKFQuwYL-b=xQ2vAU0+t0yzrpuQAtBJ3kLSOffYK42+1HiCztg@mail.gmail.com> <CABiotD1w8VZ1akw8sQQ-1p1BoW25KppBUgtNcR6FCMHcEyQE0A@mail.gmail.com> <29778.1580054691@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox