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 1upUDD-006978-Ts for pgsql-general@arkaria.postgresql.org; Fri, 22 Aug 2025 16:01:57 +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 1upUDC-007NhQ-UY for pgsql-general@arkaria.postgresql.org; Fri, 22 Aug 2025 16:01:55 +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 1upUDC-007NhH-JT for pgsql-general@lists.postgresql.org; Fri, 22 Aug 2025 16:01:55 +0000 Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1upUDB-001IgS-0H for pgsql-general@lists.postgresql.org; Fri, 22 Aug 2025 16:01:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=depesz.com; s=20170201; h=In-Reply-To:Content-Type:MIME-Version:References:Reply-To: Message-ID:Subject:Cc:To:Sender:From:Date:Content-Transfer-Encoding: Content-ID:Content-Description; bh=YYADaWJiC8Iba+X5GN6lm10Fm9eMVbyReSxHH3cv0jQ=; b=cJglnYT1XnuKiwisbkpqiuUy8x fpOTgKCs2AFdwyPnyTCgFxNErqXzyMvggf5CUAKNBk3GCUmxDOYZ8AToA/jmc35LNNdOcZ0F7ESK1 9ttx8EIpZkPfImjZvdsLbVMqDd6x3HU0zhIgU/cwHagcKC53Zdh1oWPqmsMa/eStkzRU=; Received: from depesz by depesz.com with local (Exim 4.96) (envelope-from ) id 1upUD8-00DOHi-2L; Fri, 22 Aug 2025 18:01:50 +0200 Date: Fri, 22 Aug 2025 18:01:50 +0200 From: hubert depesz lubaczewski Sender: depesz@depesz.com To: Tom Lane Cc: Adrian Klaver , PostgreSQL General , Chris Wilson Subject: Re: Streaming replica hangs periodically for ~ 1 second - how to diagnose/debug Message-ID: Reply-To: depesz@depesz.com References: <2a3e4a8d-e8c2-46d6-ad7d-9e631ce6725e@aklaver.com> <1882312.1755876082@sss.pgh.pa.us> <1885947.1755878118@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1885947.1755878118@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Aug 22, 2025 at 11:55:18AM -0400, Tom Lane wrote: > Nonetheless, I'm suspecting an interaction with the startup process, > because there just isn't that much else that this process could be > needing to deal with. Can you try strace'ing both the process doing > the test query and the startup process, to see what the startup > process is doing at the times the futex calls happen? I can, but not today. Will get back to you about it, next week, though. Best regards, depesz