public inbox for [email protected]  
help / color / mirror / Atom feed
From: Luca Ferrari <[email protected]>
To: Koshino Taiki <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: doubt about backend max_connections
Date: Fri, 13 Feb 2026 12:07:42 +0100
Message-ID: <CAKoxK+41UeKhX16E3kYa_=4=HNX2+k1krLfo3C481vBJGpLTKg@mail.gmail.com> (raw)
In-Reply-To: <TY4PR01MB1737422543D5DF7DF9740D42D9460A@TY4PR01MB17374.jpnprd01.prod.outlook.com>
References: <CAKoxK+5B1GvxxYr6FatRq6VWi_4XM3NJxumQ+LYpEwFc-ekOmA@mail.gmail.com>
	<TY4PR01MB1737422543D5DF7DF9740D42D9460A@TY4PR01MB17374.jpnprd01.prod.outlook.com>

On Thu, Feb 12, 2026 at 2:17 AM Koshino Taiki <[email protected]> wrote:
>
> Hi,
>
> The value num_init_children × max_pool applies per backend,
> so every backend will receive max_pool × num_init_children connections from Pgpool-II.
>

Thanks, it is clear now.

> max_pool × num_init_children × 2 ≤ (max_connections − superuser_reserved_connections)
> Because Pgpool-II opens additional connections to send cancel requests, the second formula is safer when query cancellation may occur.
>

I didn't know this, thank you very much for pointing out.

Luca






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]
  Subject: Re: doubt about backend max_connections
  In-Reply-To: <CAKoxK+41UeKhX16E3kYa_=4=HNX2+k1krLfo3C481vBJGpLTKg@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