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 1tALkH-00FEIM-0D for pgsql-admin@arkaria.postgresql.org; Mon, 11 Nov 2024 04:09:44 +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 1tALkC-00B1l2-Qv for pgsql-admin@arkaria.postgresql.org; Mon, 11 Nov 2024 04:09:41 +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 1tALkC-00B1ku-CC for pgsql-admin@lists.postgresql.org; Mon, 11 Nov 2024 04:09:41 +0000 Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1tALk5-001IaW-OZ for pgsql-admin@lists.postgresql.org; Mon, 11 Nov 2024 04:09:40 +0000 Received: by mail-pj1-x1036.google.com with SMTP id 98e67ed59e1d1-2e3010478e6so3298786a91.1 for ; Sun, 10 Nov 2024 20:09:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731298172; x=1731902972; 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=d9uLeWmKzQVH9aUyyOebw6NDT5Nf+2Bfxy0y15S/jI4=; b=ep/ZvPcloAA+PAx9WMLYfH1Nm+9GAo4iAlkgFY9s7c4vOuRCQEFjNUa2a7uv38spxG h8wgdIj9XlzmAiQq+4UfayD6VSxK0cnHMO9oBr/4ESPYMrU46y7ZEIlJjAjKIYV6sKC9 N6Z2D5pr8hERpEzhpw+NT6aApKedltzR6KZ5Ap/YfTc9dxaxkE9DbqUUCikHPr9bzk7I UW1sw1lUJ3VcCUXpwDq2y4jNJL+D7YCdN2WybOtqvDpt/3GeHjyTPCZvFtYWRQ4gLj6T vp5OWRHmRqeE7Yb8mCP9qHK0RSDSfb6oePOEeXX4dEIRm/R7gRI50I62UKhI887r/UTK 0C7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731298172; x=1731902972; 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=d9uLeWmKzQVH9aUyyOebw6NDT5Nf+2Bfxy0y15S/jI4=; b=IqFSssI9+hnLffekHtHtzVrx2TxHrtCxD1eLiLQBC0ULJdui+v5xD0q485pyFGZ0up wPm1+puPgCBA7xh0nlhEPBHpQnKevnJlbHQtAZcEhfgWjLP6CTEiGEPfn7edVioZ4zoO TmjzaQ+NJ2OvIBns/avbtaE38geJUP1IFUn5xYeFyEoJmlmqhtEUZw0uASFBR0SiCVwk FT75Te3KVCiFXWPsKc9Mlzzfcc2XfPN804asonxwb9FjKbIKpOtleTFD+t0LPloYUcfP FwIukdArdQMZbflqssh2VNB7Lly2Au4whBsYTeeuDhuEkF47l+Sjqt3ztXjX/KT52O+f FCKw== X-Gm-Message-State: AOJu0Yz5qg/BGtlJx1x6gbrIgJy5r2b7R1hpo5Jhsn2vyUJNDTDRfV9Y 6+GRgVgBnQ9JHXdSKhCw1BiRaq77kno7lDTnj+R7hjyyYnuB/NbSRYen3NtN4dZFmDofqL4gjlO 1GmDGKaWS4GtlsD8k4eZ9opNUxQc= X-Google-Smtp-Source: AGHT+IGVOyXN27Z/S0u0J9lCtpZpVp/l5zgz36ksHIeBIO7iaz9quTSeyTp7yGctq3KiWNYiRkFrqwTybq8yiCybslQ= X-Received: by 2002:a17:90a:d450:b0:2e2:af6c:79b2 with SMTP id 98e67ed59e1d1-2e9b1776094mr14539789a91.29.1731298171997; Sun, 10 Nov 2024 20:09:31 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Edwin UY Date: Mon, 11 Nov 2024 17:08:55 +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="0000000000008adc3f06269b4414" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000008adc3f06269b4414 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 is >> proof that it is not a hung thread. >> > > The definition of a =E2=80=9Chung process=E2=80=9D is a process whose sta= te is not > changing. > > David J. > > --0000000000008adc3f06269b4414 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi David,

Thanks for the cla= rification.=C2=A0
I thought it could be the backend has sent some= thing 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, 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
--0000000000008adc3f06269b4414--