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 1kMvp6-0004A9-J8 for pgsql-general@arkaria.postgresql.org; Mon, 28 Sep 2020 16:16:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kMvp5-0000JJ-5d for pgsql-general@arkaria.postgresql.org; Mon, 28 Sep 2020 16:16:19 +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 1kMvp4-0000JC-UR for pgsql-general@lists.postgresql.org; Mon, 28 Sep 2020 16:16:18 +0000 Received: from [66.207.139.130] (helo=sss.pgh.pa.us) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kMvp0-00083L-R5 for pgsql-general@postgresql.org; Mon, 28 Sep 2020 16:16:18 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 08SGFfE4299381; Mon, 28 Sep 2020 12:15:41 -0400 From: Tom Lane To: Reid Thompson cc: "pgsql-general@postgresql.org" Subject: Re: re PG 9.6x and found xmin from before relfrozenxid and removal of pg_internal.init file(s) In-reply-to: <29aee54495d509eb005a8fca1e27ad949fae89da.camel@omnicell.com> References: <29aee54495d509eb005a8fca1e27ad949fae89da.camel@omnicell.com> Comments: In-reply-to Reid Thompson message dated "Mon, 28 Sep 2020 14:19:40 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <299379.1601309741.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 28 Sep 2020 12:15:41 -0400 Message-ID: <299380.1601309741@sss.pgh.pa.us> X-Host-Lookup-Failed: Reverse DNS lookup failed for 66.207.139.130 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Reid Thompson writes: > We have a planned upgrade that would permanentlty remedy this. > regarding the below errors on our PG 9.6.x instance. > 2020-09-28 09:08:15.741 EDT,,,26212,,5f71e03f.6664,1,,2020-09-28 09:08:1= 5 EDT,250/9136136,0,ERROR,XX001,"found xmin 2675436435 from before relfroz= enxid 321165377",,,,,"automatic vacuum of table ""postgres.pg_catalog.pg_a= uthid""",,,,"" > 2020-09-28 09:08:15.751 EDT,,,26212,,5f71e03f.6664,2,,2020-09-28 09:08:1= 5 EDT,250/9136138,0,ERROR,XX001,"found xmin 2675019557 from before relfroz= enxid 321165377",,,,,"automatic vacuum of table ""postgres.pg_catalog.pg_a= uth_members""",,,,"" > I know that a db restart will reset the 'counter' (reset the > pg_internal.init files??) on this issue. We would rather avoid a > restart if possible. Some research on the internet found a page > suggesting that removal of pg_internal.init file(s) on a running system > would provide the same temporary resolution as a restart??? Is this a > valid temporary work around for this issue? If it is, is there a > particular pg_internal.init file that needs to be removed, or just > remove all pg_internal.init that can be found? I'm a bit dubious that that'd actually help, but it's perfectly safe if you want to try it. pg_internal.init is just a cache file that will be rebuilt if it's missing. regards, tom lane