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 1up1wi-00Ewf3-2e for pgsql-general@arkaria.postgresql.org; Thu, 21 Aug 2025 09:51:01 +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 1up1wg-00FVxe-HN for pgsql-general@arkaria.postgresql.org; Thu, 21 Aug 2025 09:50:59 +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 1up1wg-00FVxW-6c for pgsql-general@lists.postgresql.org; Thu, 21 Aug 2025 09:50:58 +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 1up1we-0014Wk-2b for pgsql-general@lists.postgresql.org; Thu, 21 Aug 2025 09:50:58 +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=GdS5HO9eVAcDAVliJhWc/B18WsxesXIlQq8j45WlV2o=; b=veEa3eAiYJ3V+7Aqvz+zhGA5Im CR8SWQeo3JxK8PR582QAA/PYwTQX1nnST3qQhCW3NE05Nrgbuv5IhfESNIssZmqGL5Ovs7UpE36X/ rGzySRTb61yDkRQtQp92HZWvEfAkJOV/fUCjb+erYpFmKPpjQjQLAj3uc9vkGAqzZJZo=; Received: from depesz by depesz.com with local (Exim 4.96) (envelope-from ) id 1up1wb-00220y-2S; Thu, 21 Aug 2025 11:50:53 +0200 Date: Thu, 21 Aug 2025 11:50:53 +0200 From: hubert depesz lubaczewski Sender: depesz@depesz.com To: Rob Sargent Cc: Adrian Klaver , PostgreSQL General Subject: Re: Streaming replica hangs periodically for ~ 1 second - how to diagnose/debug Message-ID: Reply-To: depesz@depesz.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Aug 20, 2025 at 11:24:29AM -0600, Rob Sargent wrote: > > On Wed, Aug 20, 2025 at 08:14:47AM -0700, Adrian Klaver wrote: > >> Hmm. > >> > >> From initial post: > >> > >> "For ~ 1 second there are no logs going to log (we usually have at 5-20 > >> messages logged per second), no connection, nothing. And then we get > >> bunch (30+) messages with the same milisecond time." > > Is that logger ms or db server ms? The latter seems unlikely to me. Sorry, I don't understand your question. I know it's unlikely, so it seems that something "froze" pg, for ~ 1s. The question is how to diagnose/debug what it is. Best regards, depesz