Thread: found xmin * from before relfrozenxid *

found xmin * from before relfrozenxid *

From
Evaldas Užpalis
Date:
Hello PostgresSQL users and admins,

I need some help with my problem.

I looked at postgresql logs and it is littered with error messages like:

ERROR:  found xmin 3875696185 from before relfrozenxid 1599104090
CONTEXT:  automatic vacuum of table "FMS.pg_catalog.pg_database"
ERROR:  found xmin 3875696185 from before relfrozenxid 1599104090
CONTEXT:  automatic vacuum of table "FMS.pg_catalog.pg_authid"

ERROR:  found xmin 158590964 from before relfrozenxid 1599104090
CONTEXT:  automatic vacuum of table "FMS.pg_catalog.pg_auth_members"

First error occured 2 months ago. Database has never been crashed. Year 
ago it was upgraded with pg_upgrade from version 9.2.

DB version:PostgreSQL 10.4 (Debian 10.4-2.pgdg90+1) on 
x86_64-pc-linux-gnu, compiled by gcc (Debian 6.3.0-18+deb9u1) 6.3.0 
20170516, 64-bit

How can I solve theese errors?


Evaldas




Re: found xmin * from before relfrozenxid *

From
Jerry Sievers
Date:
Evaldas Užpalis <evaldas.u@bce.lt> writes:

> Hello PostgresSQL users and admins,
>
> I need some help with my problem.
>
> I looked at postgresql logs and it is littered with error messages like:
>
> ERROR:  found xmin 3875696185 from before relfrozenxid 1599104090
> CONTEXT:  automatic vacuum of table "FMS.pg_catalog.pg_database"
> ERROR:  found xmin 3875696185 from before relfrozenxid 1599104090
> CONTEXT:  automatic vacuum of table "FMS.pg_catalog.pg_authid"
>
> ERROR:  found xmin 158590964 from before relfrozenxid 1599104090
> CONTEXT:  automatic vacuum of table "FMS.pg_catalog.pg_auth_members"
>
> First error occured 2 months ago. Database has never been
> crashed. Year ago it was upgraded with pg_upgrade from version 9.2.
>
> DB version:PostgreSQL 10.4 (Debian 10.4-2.pgdg90+1) on
> x86_64-pc-linux-gnu, compiled by gcc (Debian 6.3.0-18+deb9u1) 6.3.0
> 20170516, 64-bit

Your bug was fixed in minor version 10.5 :-)

Plz go look at the release notes and then upgrade to latest minor
release.

HTH

>
> How can I solve theese errors?
>
>
> Evaldas
>
>
>
>

--
Jerry Sievers
Postgres DBA/Development Consulting
e: postgres.consulting@comcast.net



Re: found xmin * from before relfrozenxid *

From
Andrew Gierth
Date:
>>>>> "Evaldas" == Evaldas Užpalis <evaldas.u@bce.lt> writes:

 Evaldas> Hello PostgresSQL users and admins,
 Evaldas> I need some help with my problem.

 Evaldas> I looked at postgresql logs and it is littered with error messages like:

 Evaldas> ERROR:  found xmin 3875696185 from before relfrozenxid 1599104090
 Evaldas> CONTEXT:  automatic vacuum of table "FMS.pg_catalog.pg_database"
 Evaldas> ERROR:  found xmin 3875696185 from before relfrozenxid 1599104090
 Evaldas> CONTEXT:  automatic vacuum of table "FMS.pg_catalog.pg_authid"

 Evaldas> ERROR:  found xmin 158590964 from before relfrozenxid 1599104090
 Evaldas> CONTEXT:  automatic vacuum of table "FMS.pg_catalog.pg_auth_members"

 Evaldas> First error occured 2 months ago. Database has never been crashed.
 Evaldas> Year ago it was upgraded with pg_upgrade from version 9.2.

 Evaldas> DB version:PostgreSQL 10.4 (Debian 10.4-2.pgdg90+1) on
 Evaldas> x86_64-pc-linux-gnu, compiled by gcc (Debian 6.3.0-18+deb9u1) 6.3.0
 Evaldas> 20170516, 64-bit

 Evaldas> How can I solve theese errors?

Removing global/pg_internal.init may work as a temporary fix (this file
is safe to remove since it is just a cache, and will be regenerated).
Then update to 10.8.

--
Andrew (irc:RhodiumToad)



Re: found xmin * from before relfrozenxid *

From
Evaldas Užpalis
Date:
Updating to version 10.8 helped. 
thank You all for your help.

On Wed, 12 Jun 2019 at 20:49, Andrew Gierth <andrew@tao11.riddles.org.uk> wrote:
>>>>> "Evaldas" == Evaldas Užpalis <evaldas.u@bce.lt> writes:

 Evaldas> Hello PostgresSQL users and admins,
 Evaldas> I need some help with my problem.

 Evaldas> I looked at postgresql logs and it is littered with error messages like:

 Evaldas> ERROR:  found xmin 3875696185 from before relfrozenxid 1599104090
 Evaldas> CONTEXT:  automatic vacuum of table "FMS.pg_catalog.pg_database"
 Evaldas> ERROR:  found xmin 3875696185 from before relfrozenxid 1599104090
 Evaldas> CONTEXT:  automatic vacuum of table "FMS.pg_catalog.pg_authid"

 Evaldas> ERROR:  found xmin 158590964 from before relfrozenxid 1599104090
 Evaldas> CONTEXT:  automatic vacuum of table "FMS.pg_catalog.pg_auth_members"

 Evaldas> First error occured 2 months ago. Database has never been crashed.
 Evaldas> Year ago it was upgraded with pg_upgrade from version 9.2.

 Evaldas> DB version:PostgreSQL 10.4 (Debian 10.4-2.pgdg90+1) on
 Evaldas> x86_64-pc-linux-gnu, compiled by gcc (Debian 6.3.0-18+deb9u1) 6.3.0
 Evaldas> 20170516, 64-bit

 Evaldas> How can I solve theese errors?

Removing global/pg_internal.init may work as a temporary fix (this file
is safe to remove since it is just a cache, and will be regenerated).
Then update to 10.8.

--
Andrew (irc:RhodiumToad)


--
Evaldas Užpalis
Vyr. programuotojas
UAB "Baltic Car Equipment"
Chemijos g. 15, Kaunas, Lithuania