From: Paul Förster <paul.foerster@gmail.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: derwin theduck <hotchipsveg@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Could not resolve host name error in psycopg2
Date: Fri, 17 Apr 2020 16:46:49 +0200
Message-ID: <825EEE0F-7923-48B7-8CC3-5FCE7E6F7750@gmail.com> (raw)
In-Reply-To: <4e520e58-3a5c-eab2-3563-8f5f38ff7e26@aklaver.com>
References: <CA+sT1FBWM8NOwRK=0GG93MWs=kqyF8UBiRgZSwccQOVdEMbiBA@mail.gmail.com>
<f0e2ba77-1469-1526-e113-1b201847e683@aklaver.com>
<EC756DEE-8C58-4F88-BA05-A9D7D3C3D15D@gmail.com>
<4e520e58-3a5c-eab2-3563-8f5f38ff7e26@aklaver.com>
Hi Adrian,
> On 17. Apr, 2020, at 16:10, Adrian Klaver <adrian.klaver@aklaver.com> wrote:
>
> But most pools can grow and shrink in response to demand, so at some point there are connect/disconnect cycles.
yes, but it is a difference whether you see occasional growing and shrinking pool behavior, or the logs are flooded with connect/disconnect messages by short client connects. A relatively small number of connect/disconnect messages coming from a pool is mostly acceptable while huge numbers are not.
And as for monitoring applications, I would be a big fan of a parameter like log_exclude_users='user1,user2,...' to list usernames who should not appear in log files.
Cheers,
Paul
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-general@postgresql.org
Cc: paul.foerster@gmail.com, adrian.klaver@aklaver.com, hotchipsveg@gmail.com
Subject: Re: Could not resolve host name error in psycopg2
In-Reply-To: <825EEE0F-7923-48B7-8CC3-5FCE7E6F7750@gmail.com>
References: <CA+sT1FBWM8NOwRK=0GG93MWs=kqyF8UBiRgZSwccQOVdEMbiBA@mail.gmail.com> <f0e2ba77-1469-1526-e113-1b201847e683@aklaver.com> <EC756DEE-8C58-4F88-BA05-A9D7D3C3D15D@gmail.com> <4e520e58-3a5c-eab2-3563-8f5f38ff7e26@aklaver.com> <825EEE0F-7923-48B7-8CC3-5FCE7E6F7750@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 DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox