Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hb7NZ-0003N3-Kn for pgsql-general@arkaria.postgresql.org; Wed, 12 Jun 2019 17:49:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hb7NY-0001GO-4R for pgsql-general@arkaria.postgresql.org; Wed, 12 Jun 2019 17:49:44 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hb7NX-0001GG-Qd for pgsql-general@lists.postgresql.org; Wed, 12 Jun 2019 17:49:43 +0000 Received: from lungold.riddles.org.uk ([82.68.208.19]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hb7NU-0001hU-IG for pgsql-general@lists.postgresql.org; Wed, 12 Jun 2019 17:49:43 +0000 Received: from [192.168.127.1] (port=51625 helo=caithnard.riddles.org.uk) by lungold.riddles.org.uk with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.88 (FreeBSD)) (envelope-from ) id 1hb7NS-000OUn-HQ; Wed, 12 Jun 2019 17:49:38 +0000 Received: from [127.0.0.1] (port=28016 helo=caithnard.riddles.org.uk) by caithnard.riddles.org.uk with esmtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1hb7NR-0008ss-Sl; Wed, 12 Jun 2019 17:49:38 +0000 From: Andrew Gierth To: Evaldas =?utf-8?Q?U=C5=BEpalis?= Cc: pgsql-general@lists.postgresql.org Subject: Re: found xmin * from before relfrozenxid * In-Reply-To: <338c3563-bec0-ce65-9051-967dc7b8fdbe@bce.lt> ("Evaldas \=\?utf-8\?Q\?U\=C5\=BEpalis\=22's\?\= message of "Mon, 10 Jun 2019 17:48:27 +0300") Message-ID: <875zpa66hh.fsf@news-spur.riddles.org.uk> References: <338c3563-bec0-ce65-9051-967dc7b8fdbe@bce.lt> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (berkeley-unix) Date: Wed, 12 Jun 2019 18:49:37 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk >>>>> "Evaldas" =3D=3D Evaldas U=C5=BEpalis 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 message= s like: Evaldas> ERROR:=C2=A0 found xmin 3875696185 from before relfrozenxid 15991= 04090 Evaldas> CONTEXT:=C2=A0 automatic vacuum of table "FMS.pg_catalog.pg_datab= ase" Evaldas> ERROR:=C2=A0 found xmin 3875696185 from before relfrozenxid 15991= 04090 Evaldas> CONTEXT:=C2=A0 automatic vacuum of table "FMS.pg_catalog.pg_authi= d" Evaldas> ERROR:=C2=A0 found xmin 158590964 from before relfrozenxid 159910= 4090 Evaldas> CONTEXT:=C2=A0 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. --=20 Andrew (irc:RhodiumToad)