Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tIAX9-00CdXk-VN for pgsql-admin@arkaria.postgresql.org; Mon, 02 Dec 2024 17:48:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tIAX6-0024TS-NU for pgsql-admin@arkaria.postgresql.org; Mon, 02 Dec 2024 17:48:29 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tIAX6-0024TK-5d for pgsql-admin@lists.postgresql.org; Mon, 02 Dec 2024 17:48:29 +0000 Received: from mail-yw1-x1135.google.com ([2607:f8b0:4864:20::1135]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1tIAX0-000gq4-Mm for pgsql-admin@lists.postgresql.org; Mon, 02 Dec 2024 17:48:28 +0000 Received: by mail-yw1-x1135.google.com with SMTP id 00721157ae682-6eeffdff41dso38512517b3.3 for ; Mon, 02 Dec 2024 09:48:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733161701; x=1733766501; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=h3yMMj/HTtav98f4M3zW963sghMUBXUV/3EqNNslYwY=; b=Kzt7aLQlRLghXtRn/5VCFJya7sqoFipr/FvzRmZtwzh6RfK7NnDG8GthM9EOGRDRYO c2IKLHozLMoYuQ86BbSzs04Q4cM2z2XgHAJyKfbk0A6K0BcAW+YYo72M05UnfrmGHC8C AA7UvgRehDd3uYalHpqICA5zFOhUDxXKyrpZqYIu6HRDrOuhYPzK782r+SzA0jLIi+9e IhDBCsQlbtmLJchYbHQQFQSTQxeEGCHfuJ2+QysQyM2ZFFeYFMUiM/Li4X/CfgYetT/t /k92idupOxRGxeLTkqqM+8Ov0yJQ88w4ZRrMzYYyHtqx5UmWWhxk5d7Q2tGjvMaNghhH rZgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733161701; x=1733766501; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=h3yMMj/HTtav98f4M3zW963sghMUBXUV/3EqNNslYwY=; b=spwkFO6I6Zog3IaWeO0R9mzMOoVEi0VQPd5xMDt3Rg5Ti+F/ooDmk9uPEWuI7zkMRt 8F2ok94qGrcOdMeWgNZlCg3Dlba+kgAvClHTkorZ5zsB/JGT+Vky8qyA+xRO1SfvzI18 dz1mCeGSELuQKLo9bOR8BcMQO9uK10tjAL1S3cVgX5BZmvJl77lmeyN/wMBkIf+V0Su6 9AE1106iZI49H6Hx77MAZUKvI87tuuWqA6MXlTZ2uv6K3Px8t29T61asKBC1r0yx4Jnv tUKeCwqIDPogyK0Vhk5wl7jSLNxVqk88LqCQ1FqTFX0K7M60GgtDNWSekVySv1ydfgA+ FqNQ== X-Gm-Message-State: AOJu0Yw4Y+aoygP4cblO26OumsiCJTjv99DVP3d5DrtACk7V+ax2/A7X GSOyTTX44xg/lJVIpyrCDmwNhFruV7AGCSjFedm34aWCHW9ogWWpxuTmdBOMpk+Yu81I/uaL1Pb O4TWrQmJXDToY9AFekXOizpSNXLH2Pz2UTTE= X-Gm-Gg: ASbGncvEGtWG83DiRgG4s9IMGmL/mwfJO5M7WActme+c2ws0BUAVtkZ+97DmcMm1+wk sJ4N2M38vqPegkuSJjd9jGeaOtqSLJF1s X-Google-Smtp-Source: AGHT+IHfSPmrq4Va5KpThEwCq7PqMdRubgNpZdpQ0KWnD+FSXiCebP785BZO0J7UcGtQtDjQ+WIDdvAuu/GviAiSA50= X-Received: by 2002:a05:6902:2d07:b0:e2b:cf75:2840 with SMTP id 3f1490d57ef6-e395b86a463mr23787697276.5.1733161701526; Mon, 02 Dec 2024 09:48:21 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Ozgur Kulu Date: Mon, 2 Dec 2024 20:48:11 +0300 Message-ID: Subject: Re: Database disconnection due to timeout To: Erik Serrano Cc: Pgsql-admin Content-Type: multipart/alternative; boundary="0000000000008ee1a406284d277f" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000008ee1a406284d277f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Erik, First of all, check statement_timeout parameter on db side. secondly, ask the developmet team or middleware team timeout settings. Regards, Erik Serrano , 2 Ara 2024 Pzt, 19:34 tarihinde =C5=9Fu= nu yazd=C4=B1: > 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 databas= e > 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. > > Thank you very much for your contributions and help. > Greetings > > > *Erik R. Serrano Saavedra* > *Ingeniero de Sistemas Inform=C3=A1ticos* > > --0000000000008ee1a406284d277f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Erik,

First of all,= check=C2=A0state= ment_timeout parameter on db side.
<= span style=3D"font-size:14px;letter-spacing:-0.308px;white-space:pre;backgr= ound-color:rgb(249,249,249)">secondly, ask the developmet team or middlewar= e team timeout settings.

Regards,
Erik Serrano <eserra= nos@gmail.com>, 2 Ara 2024 Pzt, 19:34 tarihinde =C5=9Funu yazd=C4=B1= :
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 th= at there is a parameter within the configuration file (postgresql.conf) con= nection (pg_hba.conf) or replica manager (repmgr.conf) that allows me to so= lve this problem.


Background:
- The database is in an Azure I= aaS.
- The database allows the connection, but the user drops due to tim= eout
- I can connect to the same server and database with their credenti= als
- Firewall allows the connection.
- the configuration in pg_hba.c= onf owns the user
- user connects through DBeaver
- The database post= greSQL is version 15
- user is the owner of the database

<= /div>
Any contribution is appreciated.

Thank y= ou very much for your contributions and help.
Greetings

<= div dir=3D"ltr">

= Erik R. Serrano Saavedra
Ingeniero de Sistemas Inform=C3=A1ticos=

--0000000000008ee1a406284d277f--