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 1tALoO-00FEgD-EF for pgsql-admin@arkaria.postgresql.org; Mon, 11 Nov 2024 04:13:59 +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 1tALoL-00B5mN-Ia for pgsql-admin@arkaria.postgresql.org; Mon, 11 Nov 2024 04:13:58 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tALoL-00B5m0-6x for pgsql-admin@lists.postgresql.org; Mon, 11 Nov 2024 04:13:57 +0000 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1tALoI-001IcD-J4 for pgsql-admin@lists.postgresql.org; Mon, 11 Nov 2024 04:13:57 +0000 Received: by mail-pj1-x1035.google.com with SMTP id 98e67ed59e1d1-2e2ad9825a7so3073346a91.0 for ; Sun, 10 Nov 2024 20:13:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731298434; x=1731903234; 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=cR4/Zh6YMXwvaI0zwViPIKxFGFesbbDIES78QA8i2ng=; b=iKrLBBJzB2hmRyMHhAlTllZc2iISZ88RKQJjOb6VZJ+y6rH6SGZOviNLl1/0SK3tQb MJRc8to1lM6MZJzb2F0/bUobV+X4R310wnD1K19H8jfUkhxosPoe5ihuu33Rjg18p1wT L0fHwnd4vEmKqfzjArxk8uTjB5opnyDq9vf8lBLWjPD6urO9BsS8llMi86Cbk/MI2cPI zEYblmYE9MHplHBVqPQKGnELDi2tyLUmFZVVAxswHvltwr0/GUqoXrMqua/8AMDps3MB RpW45XBZlNYk+NWudEPOLUMS256Vdtmvb3Z4+H47/Q9Ffa7d9bqWSoNblGERglaC+57E RzWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731298434; x=1731903234; 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=cR4/Zh6YMXwvaI0zwViPIKxFGFesbbDIES78QA8i2ng=; b=ZQuU2ypx9YtN1ENGNCvPCWnP5wKGmZiCk1eZkqeZngAYQnAVhiML5JPcYc72lUWQdR bPNMQTb4xq6AXzubnUvHr3Fa8J78lCw5tgBXbs/t7NPpfhZ83h40iky5q+3wtR62/KbW 3fMT0DN5YDTB1HEYwyfNYBAChm6gj50SGE2lUc4k7ruFXUQWczAHi7UVrQ3OfW0qh8O+ O4OheBQ70IOxEfqiea84kNUCABSFdePrZZO7dWSquf6t/VGWn4/BkHG/tYRjXzLNdmkb N6BIEzP7IDGsP79GMfUErvZZ/F0mtiDObG7Y2GhPIoTaimKtWtsMEvNQyk6nLyypKW5z VnSA== X-Gm-Message-State: AOJu0YxQ3bt+P7xmobrdZ+dnVmgi9ZastADHIcpIhnXsgjuBezn99nEW fygEpr5WZFtJHS9w4PNKelpaEFZKWxpwzTc10n9CRXibBjlHvPK36wPDvhZl1CpXKle7rofk6Q9 SdjoomQaYaLGJgNDpEW2ODs2ppPf7UrTv X-Google-Smtp-Source: AGHT+IEW7Al8d/ggG2xOBU5yVMDd6KLxaqMsOqpmHIGAQ3LcRf+MJZACqHhDk3xgdgThe5EllCGYa0wVUz/jX/Yu+TE= X-Received: by 2002:a17:90b:4c06:b0:2e2:cd11:c9b with SMTP id 98e67ed59e1d1-2e9b16eb849mr14862639a91.3.1731298433480; Sun, 10 Nov 2024 20:13:53 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Edwin UY Date: Mon, 11 Nov 2024 17:13:17 +1300 Message-ID: Subject: Re: How to check if session is a hung thread/session To: "David G. Johnston" Cc: "pgsql-admin@lists.postgresql.org" Content-Type: multipart/alternative; boundary="00000000000020bd8006269b5410" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000020bd8006269b5410 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Need to Google how to trace a RDS session then :( and see what's the SQL that's getting run, the clue may be something in there On Mon, Nov 11, 2024 at 5:08=E2=80=AFPM Edwin UY wrote= : > Hi David, > > Thanks for the clarification. > I thought it could be the backend has sent something back to the client > but it never received it and it just kept on doing the same at some > intervals. > > > On Mon, Nov 11, 2024 at 4:44=E2=80=AFPM David G. Johnston < > david.g.johnston@gmail.com> wrote: > >> >> >> On Saturday, November 9, 2024, Edwin UY wrote: >> >>> >>> The state_change date is getting updated though, I don't know if this i= s >>> proof that it is not a hung thread. >>> >> >> The definition of a =E2=80=9Chung process=E2=80=9D is a process whose st= ate is not >> changing. >> >> David J. >> >> > --00000000000020bd8006269b5410 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Need to Google how to trace a RDS session= then :( and see what's the SQL that's getting run, the clue may be= something in there

On Mon, Nov 11, 2024 at 5:08=E2=80=AFPM Edwin UY <= ;edwin.uy@gmail.com> wrote:
<= div>Hi David,

Thanks for the clarification.=C2=A0<= /div>
I thought it could be the backend has sent something back to the = client but it never received it and it just kept on doing the same at some = intervals.


On Mon, Nov 11, 2024 at 4:44=E2=80=AFPM Davi= d G. Johnston <david.g.johnston@gmail.com> wrote:


On Saturday, November 9, 2024, Edw= in UY <edwin.uy@= gmail.com> wrote:

The state_change date is getting updated though, I don't know if thi= s is proof that it is not a hung thread.

The definition of a =E2=80=9Chung process=E2=80= =9D is a process whose state is not changing.

Davi= d J.
=C2=A0
--00000000000020bd8006269b5410--