Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q4zsa-0006HN-Dx for pgsql-admin@arkaria.postgresql.org; Fri, 02 Jun 2023 08:11:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q4zsZ-0001ju-3S for pgsql-admin@arkaria.postgresql.org; Fri, 02 Jun 2023 08:11:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q4zsY-0001jd-Ec for pgsql-admin@lists.postgresql.org; Fri, 02 Jun 2023 08:11:22 +0000 Received: from admin.sibptus.ru ([2001:19f0:5001:21dc::10]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q4zsT-003eLO-Fy for pgsql-admin@lists.postgresql.org; Fri, 02 Jun 2023 08:11:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=oc32aAL952hNjHEfrpE3a5VmDUzXcLgA7TzUw0UDEII=; b=dovWx4ZwqHWGeXwXst9iuwZD1z eEzMxp/vslxylGuMIbsZ6AOX9loa+xcqLDXHvCKPxR4ZGjMSy5lkIDO7NARUipppi/uNb/CBTCo4E A02TduMcG9UgXVLMe06flQ3nZUFcW/GqhPEq5kHZFQYuK37o7XAqOjnqWaKRi3OOdadY=; Received: from vas by admin.sibptus.ru with local (Exim 4.95 (FreeBSD)) (envelope-from ) id 1q4zsR-000BXB-Ts for pgsql-admin@lists.postgresql.org; Fri, 02 Jun 2023 08:11:15 +0000 Date: Fri, 2 Jun 2023 08:11:15 +0000 From: Victor Sudakov To: pgsql-admin@lists.postgresql.org Subject: Re: xlog min recovery request 7C5C/96D5C550 is past current point Message-ID: References: <34465465.518828.1685474811496@office.mailbox.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <34465465.518828.1685474811496@office.mailbox.org> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Erik Wienhold wrote: > > On 28/05/2023 13:45 CEST Victor Sudakov wrote: > > > > Dear Colleagues, > > > > After starting a Postgres 13.11 cluster from a pg_basebackup'ed > > directory, it started its recovery with lots of these messages in the log: > > > > 2024-05-26 03:30:26.526 MST [394116] WARNING: xlog min recovery request 7C5B/8AC06EA0 is past current point 7C5B/839449E8 > > 2023-05-26 03:30:26.526 MST [394116] CONTEXT: writing block 23 of relation base/1653520455/1653526563_fsm > > WAL redo at 7C5B/83944978 for Heap/UPDATE: off 126 xmax 1873090085 flags 0x02 ; new off 3 xmax 0 > > 2023-05-26 03:30:30.438 MST [394116] WARNING: xlog min recovery request 7C5B/8AC06EA0 is past current point 7C5B/8847C348 > > 2023-05-26 03:30:30.438 MST [394116] CONTEXT: writing block 23 of relation base/1653520455/1653526563_fsm > > WAL redo at 7C5B/8847A420 for XLOG/FPI_FOR_HINT: > > 2023-05-26 03:30:33.612 MST [394116] WARNING: xlog min recovery request 7C5B/BD1CC550 is past current point 7C5B/8A3CF248 > > 2023-05-26 03:30:33.612 MST [394116] CONTEXT: writing block 2 of relation base/1653520455/1653527229_fsm > > WAL redo at 7C5B/8A3CF208 for Heap2/VISIBLE: cutoff xid 1873088629 flags 0x01 > > 2023-05-26 03:30:42.836 MST [394116] WARNING: xlog min recovery request 7C5B/BA11C7D8 is past current point 7C5B/8C7830E8 > > 2023-05-26 03:30:42.836 MST [394116] CONTEXT: writing block 0 of relation base/1653520455/1653554782_vm > > WAL redo at 7C5B/8C7830B0 for Heap2/CLEAN: remxid 1873090422 > > 2023-05-26 03:30:48.174 MST [394116] WARNING: xlog min recovery request 7C5C/3E4F06F8 is past current point 7C5B/8EC92C70 > > 2023-05-26 03:30:48.174 MST [394116] CONTEXT: writing block 126 of relation base/1653520455/1653524986_fsm > > WAL redo at 7C5B/8EC92B90 for Heap2/CLEAN: remxid 1873087613 > > > > > > Eventually the cluster reached the consistent state and reported > > "ready to accept connections" but I'm wondering what could have caused > > these messages and what they are about. Googling did not bring much > > enlightenment. > > > > Most of these messages seem to be about the FSMs, but not all of them. > > > > Any ideas? Should I be worried? > > The relevant code comment says that corrupted heap pages could be the cause. [0] > But searching the lists I found [1] which names the visibility map code as one > cause. But this is just a guess, I don't know if that explanation is still > valid. > > [0] https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/backend/access/transam/xlog.c;h=a1ceded9e092f40e2559a020bd9675856a428edb;hb=2faab87390b03929a8cbb5a9336a04faa45a27c5#l2823 > [1] https://www.postgresql.org/message-id/CAB7nPqTQkW%2BFZYQbbPBoaoge1HkQCD7gxKfGGigF6E88mvYKfw%40mail.gmail.com Thanks for the links, and wow! If it is still the same problem it must be at least 9 years old and noone has fixed it. BTW seeing the messages not only about VM's, but about FSM's as well. I only have to trust that these messages are indeed harmless. After all, AFAIR VMs and FSMs will be rebuilt by autovacuum sooner or later. -- Victor Sudakov VAS4-RIPE http://vas.tomsk.ru/ 2:5005/49@fidonet