pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Reid Thompson <Reid.Thompson@omnicell.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: re PG 9.6x and found xmin from before relfrozenxid and removal of pg_internal.init file(s)
Date: Mon, 28 Sep 2020 12:15:41 -0400
Message-ID: <299380.1601309741@sss.pgh.pa.us> (raw)
In-Reply-To: <29aee54495d509eb005a8fca1e27ad949fae89da.camel@omnicell.com>
References: <29aee54495d509eb005a8fca1e27ad949fae89da.camel@omnicell.com>

Reid Thompson <Reid.Thompson@omnicell.com> 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:15 EDT,250/9136136,0,ERROR,XX001,"found xmin 2675436435 from before relfrozenxid 321165377",,,,,"automatic vacuum of table ""postgres.pg_catalog.pg_authid""",,,,""
> 2020-09-28 09:08:15.751 EDT,,,26212,,5f71e03f.6664,2,,2020-09-28 09:08:15 EDT,250/9136138,0,ERROR,XX001,"found xmin 2675019557 from before relfrozenxid 321165377",,,,,"automatic vacuum of table ""postgres.pg_catalog.pg_auth_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





view thread (4+ messages)  latest in thread

Message-ID: <299380.1601309741@sss.pgh.pa.us>
Permalink:  ../299380.1601309741@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/299380.1601309741@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, Reid.Thompson@omnicell.com
  Subject: Re: re PG 9.6x and found xmin from before relfrozenxid and removal of pg_internal.init file(s)
  In-Reply-To: <299380.1601309741@sss.pgh.pa.us>
  References: <29aee54495d509eb005a8fca1e27ad949fae89da.camel@omnicell.com> <299380.1601309741@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox