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 1tALLm-00FBka-9O for pgsql-admin@arkaria.postgresql.org; Mon, 11 Nov 2024 03:44:25 +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 1tALLj-00AuTg-MF for pgsql-admin@arkaria.postgresql.org; Mon, 11 Nov 2024 03:44:24 +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 1tALLj-00AuTY-At for pgsql-admin@lists.postgresql.org; Mon, 11 Nov 2024 03:44:23 +0000 Received: from mail-oo1-xc34.google.com ([2607:f8b0:4864:20::c34]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1tALLd-001EHN-Kr for pgsql-admin@lists.postgresql.org; Mon, 11 Nov 2024 03:44:22 +0000 Received: by mail-oo1-xc34.google.com with SMTP id 006d021491bc7-5ee3c2e79aaso1746751eaf.3 for ; Sun, 10 Nov 2024 19:44:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731296656; x=1731901456; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=aF8YWVOQq3Jd9cXhyrOu/pljnB17WcYxhy0hdAxxBOk=; b=gmWIIuOsdg4JGju+sZIYsaMRiob0CxUFZvj0fT6ebSz/ZWHt1bustIj2J0mZbUMnVP QqbN+29LMbyp0TttzMXrNvkGe1ASbf5Q2g8MKjVPcmJVG3DX0HymS18lzg9C0Q+urRA2 Tizx4NghAwxTOKUcjmtd4og66TlVALj2H87fNeB6cqmKtDEg6Ziy0wvxaApFUjw8pGKl t50Dg1VokJsvH1L0amiYNImLRS13cZ7IICrX8VewG5bDXR8ppnvXjhXX5sQNeKkcQSfW INh0e0qij1Gg6JZhYz5Hsqyxg6obAjV1zibuuv+f71uELLuf7uVy+bFney69eOSStF92 TtbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731296656; x=1731901456; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=aF8YWVOQq3Jd9cXhyrOu/pljnB17WcYxhy0hdAxxBOk=; b=qQ/NheeReY+WxJ/wdN360XBS2Fl1lkrLExT31iGPeQJsWsy9okLndVqKnf6ey/hggX PmF8G5EVJlMdqMR9ANKFAjsuearOrHtdwXqgVRmWxuFzNcE5c6pzcvyCfj4kT3QlqY1D 8+4ytYqT6tlIUx39OyUMEvpCK3nXsML9y+RhvXVsxnTdy0UvpnU++EE2ZtKnfRapRr+g jV0Bp7ZQMxlgduFXLCZhB3gJ2ZWTJtLiB5av4YnqOMLhp2NwK62jEDmBAFtxihtAT3De qZikNVAXwYkvZ70DnlMNM3Ge0NLn8O/Zqp9JZTSeet0a4zlHXHLUmUflWkqp/B1PWK+K a7Ug== X-Gm-Message-State: AOJu0YzTWND3FpQHD8Cz+LmSPbDX2+nMVLYey9JRFaYkgnKCbfD0+bZj My//wzrDW1mdukN586oDKZwTJLS04j/+Y6J3vI4pk3NqgiGEr/58Og/tvEd2SO6JIY40rzDn5yc 7/lp+IsRHS9Vc8y4PqrCqebkauPI= X-Google-Smtp-Source: AGHT+IHdg9XbH4m5SNjQR+ZsHciEsqvpOgIOu1xf/L/U6aL1hrx/rosUv4mAE6yJXqzsOZNlVjRNNcY2+FL2ln7R8Tw= X-Received: by 2002:a05:6870:a346:b0:288:eff4:49e4 with SMTP id 586e51a60fabf-2956009910bmr8328768fac.4.1731296656556; Sun, 10 Nov 2024 19:44:16 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a05:6802:27c2:b0:56c:c9af:3ee6 with HTTP; Sun, 10 Nov 2024 19:44:15 -0800 (PST) In-Reply-To: References: From: "David G. Johnston" Date: Sun, 10 Nov 2024 20:44:15 -0700 Message-ID: Subject: Re: How to check if session is a hung thread/session To: Edwin UY Cc: "pgsql-admin@lists.postgresql.org" Content-Type: multipart/alternative; boundary="000000000000370ae006269aea2f" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000370ae006269aea2f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 state= is not changing. David J. --000000000000370ae006269aea2f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

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

The state_change date is getting updated though, I don't know i= f 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 state is not changing.

David J.
=C2=A0
--000000000000370ae006269aea2f--