public inbox for [email protected]  
help / color / mirror / Atom feed
From: Ron Johnson <[email protected]>
To: Pgsql-admin <[email protected]>
Subject: Re: Database disconnection due to timeout
Date: Mon, 2 Dec 2024 15:10:33 -0500
Message-ID: <CANzqJaDXq5Jzigzzh0L7OgiEXNPF__r7j_gOoGL=GgA+uQ__rQ@mail.gmail.com> (raw)
In-Reply-To: <CA+dvXXv_t-88oXC3m1EL4Oa+MwizO0+4azhAzW-OeJgEG9Kf+A@mail.gmail.com>
References: <CA+dvXXv_t-88oXC3m1EL4Oa+MwizO0+4azhAzW-OeJgEG9Kf+A@mail.gmail.com>

On Mon, Dec 2, 2024 at 11:34 AM Erik Serrano <[email protected]> wrote:

> Hi guys, nice to meet you .. I have to solve a user problem against the
> postgresql database that is located in the Azure cloud as (IaaS) that is
> happening to you the following:
>
> A user drops the connection from his console to the replica slave database
> due to timeout, it is possible that there is a parameter within the
> configuration file (postgresql.conf) connection (pg_hba.conf) or replica
> manager (repmgr.conf) that allows me to solve this problem.
>
>
> Background:
> - The database is in an Azure IaaS.
> - The database allows the connection, but the user drops due to timeout
> - I can connect to the same server and database with their credentials
> - Firewall allows the connection.
> - the configuration in pg_hba.conf owns the user
> - user connects through DBeaver
> - The database postgreSQL is version 15
> - user is the owner of the database
>
> Any contribution is appreciated.
>

Disconnect during any random query?
Disconnect only during a very long-running query?
Disconnect when DBeaver is "just sitting there", while the user is doing
something else?

-- 
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!


view thread (5+ 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]
  Subject: Re: Database disconnection due to timeout
  In-Reply-To: <CANzqJaDXq5Jzigzzh0L7OgiEXNPF__r7j_gOoGL=GgA+uQ__rQ@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