public inbox for [email protected]  
help / color / mirror / Atom feed
From: David G. Johnston <[email protected]>
To: Adrian Klaver <[email protected]>
Cc: adolfo flores <[email protected]>
Cc: [email protected]
Subject: Re: Getting error "too many clients already" despite having a db connection limit set
Date: Mon, 16 Jun 2025 11:09:59 -0700
Message-ID: <CAKFQuwa0t-L_zxuseJtOyf6F32V7pFdEw90wgyo769he+CdW4Q@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CADM4kyuO39mr8E_xDw4GGi2v9gCK0dq52fKj40FcsXJeKxgRrA@mail.gmail.com>
	<[email protected]>

On Mon, Jun 16, 2025, 10:21 Adrian Klaver <[email protected]> wrote:

> On 6/16/25 09:29, adolfo flores wrote:
> > Hello Team,
> >
> > I hope you can help me with an issue we're experiencing. We have an app
> > running on Kubernetes that opens a huge number of connections within a
> > couple of seconds.
> >
> > The database that the app connects to, is configured with a connection
> > limit of 30% of the max_connections setting. Despite this limit being
>
> I am not understanding the above. The connection limit from the database
> side is going to be the value for max_connections. It is not clear to me
> what "...  connection limit of 30% of the max_connections setting" is
> referring to?
>

See "alter database ... set"

David J.


view thread (3+ messages)  latest in thread

reply

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: Getting error "too many clients already" despite having a db connection limit set
  In-Reply-To: <CAKFQuwa0t-L_zxuseJtOyf6F32V7pFdEw90wgyo769he+CdW4Q@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox