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.96) (envelope-from ) id 1vISzo-002BoE-1K for pgsql-general@arkaria.postgresql.org; Mon, 10 Nov 2025 14:35:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vISyl-000ttN-38 for pgsql-general@arkaria.postgresql.org; Mon, 10 Nov 2025 14:34:47 +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.96) (envelope-from ) id 1vISyl-000ttF-1x for pgsql-general@lists.postgresql.org; Mon, 10 Nov 2025 14:34:47 +0000 Received: from mail-il1-x131.google.com ([2607:f8b0:4864:20::131]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vISyj-006OGE-2e for pgsql-general@postgresql.org; Mon, 10 Nov 2025 14:34:46 +0000 Received: by mail-il1-x131.google.com with SMTP id e9e14a558f8ab-431d65ad973so12769095ab.3 for ; Mon, 10 Nov 2025 06:34:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1762785285; x=1763390085; darn=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=C2Ii11kPTplcZa2hh+2R7dEiF7ui2CHMhwZKMMHK1x8=; b=NMbQb6i09JDgiQPkO5oweZTLyIeL4Lg9Vnlx+c/6IX1yfSAKUz8PfeQSVe8RtbzPuo 2di93qFCwuxiF1Lydjrz7Usvbz5mjuyGUKeJhJww9qCIBTV90CgHfd1BLvcalEI8oAq4 0L4hWUVE/PF17syrY4l1XnIViZeogJgMf6T8j7Pz/CiCPL/p/cxhVRCTFdeTHRkezrEU ySfrGIZ+s7B7+3fmxOdeilplwoSvP7cqvPjWC4gfc2RQ6GzADDg9Qs7eu//a3gE1L3DR +Y+5Erm5+zSHmyH8NhDocMjMs4kXLdYKcCKMVfaUVF+IYTuPihvPB+2mfH/cZbNztpJb 49dQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762785285; x=1763390085; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=C2Ii11kPTplcZa2hh+2R7dEiF7ui2CHMhwZKMMHK1x8=; b=pWSxnPppd9kIjK9p1yShoPWh20IIBjN0esqcyh7IFFgg90jSlU4KvTUdb6nJx0PY16 30BrgTBFz0xLaktL8g7dRG8jY1sHbGSN4eOotMtlduYih5i6bRGO8eAfXC8xcTIDEVop Nqj1pmEaASJDSP7kkKvmw7OvOyVyQHnJLufT0EUWmwqcVO/hmviQOkwTUIXVFEgXyQT2 kG+a34A1hzR+vsByldtMbKwH2Xb2pIz0XKQxRfCylcmhjj0pTejdWQxKPRF2lyHZyzwQ srTn3UjHnFFKcE4Tt83zVVRK/TX8jYK3PoTKaqio7zA6TbF1Go/tSm+wBvcH42PK5lg+ i8FA== X-Forwarded-Encrypted: i=1; AJvYcCVf4bigOKnNynA3Y0CeC1znLRBQ6oJCR6JKEQ4zeSatVn89aEzeje7n2GuwBmG0noPgB0StMmflg6i5qJqF@postgresql.org X-Gm-Message-State: AOJu0YxLSu8YNX3W/YQe07WVQc2DpiuRTn5vsd4ggbpi+byOfq6hBZDS euSYieLIrRR+8jjrq3iuQyGKG2u+A/ysVoL/8pcS5MNmGeFx/gsUllPFLK25wz1+CZ4kSPE0bA8 R30UJE8gJYbX4cwIZVJZwsazMXKmnK28= X-Gm-Gg: ASbGnctbZfUtzlIPDjQK7FDHDilXbjSqUjTasq+09x77LBJkhqv0eqAJnkRgakzCyN0 gcEl02If+KobQf25LYtYG7/1WWtK6mWh0viSCvp7M5aTQLNu2SrfNt2CTgeobfrB0fwo/zetKp4 d84v1rkTmGsNFMzDOj+RYxvapQew/TZtvgiOgixKJdF/c6efSnujSeaUaR3NVVMaAAPc5GG/WGP bcPMeE6F3oHq5pZqGE7RPujmx4ljgPMWwFU9SH6oB/LLw2oJYfXfTqhAcIh8Qkv8A5jcsz+kbVW 81j1+vsAWL4x5Z42Kw== X-Google-Smtp-Source: AGHT+IFfqnlZ2KmYctONKK04U8nRv3tkmRzfchmpcHt/I8bzhrC0yN+2haKaCnELIRYUldBe6grw+DpPhqdg56S66dQ= X-Received: by 2002:a05:6e02:b29:b0:433:31a0:4e6d with SMTP id e9e14a558f8ab-43367de51cfmr125974685ab.10.1762785284877; Mon, 10 Nov 2025 06:34:44 -0800 (PST) MIME-Version: 1.0 References: <69982fc8a6ea2b7c2030d8206e16a8af081e7c46.camel@cybertec.at> In-Reply-To: From: Greg Sabino Mullane Date: Mon, 10 Nov 2025 09:34:13 -0500 X-Gm-Features: AWmQ_bnsvBGZhhi_VaAfm-zAUVT5XHO1dBm6ZJlYTKpYKwOmWiflGdS9wh8obCE Message-ID: Subject: Re: Enquiry about long-running queries To: Ashish Mukherjee Cc: Laurenz Albe , pgsql-general@postgresql.org Content-Type: multipart/alternative; boundary="000000000000b8734806433e6e05" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000b8734806433e6e05 Content-Type: text/plain; charset="UTF-8" Wow, 9 days is a long time. The fact that it is not responding to pg_terminate_backend means it's not even calling CHECK_FOR_INTERRUPTS inside the WaitForParallelWorkersToFinish loop, so something is seriously wrong. If the PID is still there, please do what Laurenz suggested: strace -tp 356274 Is the problem reproducible, and has it happened more than once? Cheers, Greg --000000000000b8734806433e6e05 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Wow, 9 days is a long time. The fact that it is not respon= ding to pg_terminate_backend means it's not even calling CHECK_FOR_INTE= RRUPTS inside the=C2=A0WaitForParallelWorkersToFinish loop, so something is= seriously wrong. If the PID is still there, please do what Laurenz suggest= ed:

strace -tp 356274

Is the pr= oblem reproducible, and has it happened more than once?

Cheers,
Greg




--000000000000b8734806433e6e05--