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.92) (envelope-from ) id 1jHhII-0003GD-Qu for pgsql-general@arkaria.postgresql.org; Fri, 27 Mar 2020 05:12:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jHhIH-0003Xc-EX for pgsql-general@arkaria.postgresql.org; Fri, 27 Mar 2020 05:12:33 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1jHhIG-0003XV-97 for pgsql-general@lists.postgresql.org; Fri, 27 Mar 2020 05:12:33 +0000 Received: from [64.147.123.19] (helo=wout3-smtp.messagingengine.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jHhID-0001uL-EJ for pgsql-general@lists.postgresql.org; Fri, 27 Mar 2020 05:12:31 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 2DB69891; Fri, 27 Mar 2020 01:12:17 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 27 Mar 2020 01:12:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=2yOCXzIDJ548xZKSvAfa6vUboJJ Ak26pUJPhHcgVq5s=; b=LZ8ma5NTAjhSz+ASeYHbsoeey6xHoywgY9c+e+3QnVC 7oaXIjQc9ZgOSaudWphRCMWn96LlU/OdwRKO3KrdI7GPRqZZWFZQFUe0CYtOxs3t ckpyJUxOp4rSbCG9kPfhtcbRmAcOF4T3N8z00HpQHijeu8zjiZr5OlaXcjMdsm3H eUl8WLTas2y7dSR6E9Rd6nymMnBJ3W9UcYRMZkG90vcujIpRBMv5Lh4fWp71tgUW tPbx+K2i+p13neAzYCPiUqrcBCF2OF3sm4LF3CxANrr8KGZh4RCgrV82aczQ7yrK XPRpLGjM9Mz7Bu3HD7ZDdu4yCUOvQhyT8WB7ha9xU9Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=2yOCXz IDJ548xZKSvAfa6vUboJJAk26pUJPhHcgVq5s=; b=11byJnNyeDRQNz1PB3JKX4 NcJbgedSlJWaiNGtIS6IbjHZVXh3rfwjzj7Ffylxrbi0Yt/heffWTeQwMjpzBO7f 9uj18GUKJlnam2Iqvrx3cuqhu+HL0kGUmhKCVBI2OEaM9y5tz0JCfWo8WnP0pJoA aQEMjoSGA+Re8PtG2JWyh+vOZgilnCjpJ86s1We1FRUqECEHfkrgu9TM41jr5Kcf 1AirGsh7Iq3oduzmBhd1FZWxVlLIc8lVCi488nNysnOJFd7Ux/iVz8O/vL6O+9DU x88/uNPtsjk/lgC7wZNsJcfC1gUvSnk7g5pgCCCxSLyOAC/zCzZScrqcBWp7v6fQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudehjedgudejlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enfghrlhcuvffnffculdejtddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecukfhppeduuddurddutddvrddukedtrddukeehnecuvehl uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlh esphgrqhhuihgvrhdrgiihii X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id D9BC5328005E; Fri, 27 Mar 2020 01:12:07 -0400 (EDT) Date: Fri, 27 Mar 2020 14:12:04 +0900 From: Michael Paquier To: Justin King Cc: Andres Freund , Julien Rouhaud , pgsql-general@lists.postgresql.org, kgrittn@gmail.com Subject: Re: PG12 autovac issues Message-ID: <20200327050622.GB2133@paquier.xyz> References: <20200323162303.s7ay5hjdvimtkz6u@alap3.anarazel.de> <20200323194725.GC52612@nol> <20200323200051.qzyqvnips7o3ai4g@alap3.anarazel.de> <20200324052606.GE1836@paquier.xyz> <20200324054039.ulrxbzo2ycy7pu5i@alap3.anarazel.de> <20200324061238.GG1836@paquier.xyz> <20200324194259.pidupqxtqnquk4wu@alap3.anarazel.de> <20200326014108.GA2199@paquier.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="C7zPtVaVf+AK4Oqc" Content-Disposition: inline In-Reply-To: X-Host-Lookup-Failed: Reverse DNS lookup failed for 64.147.123.19 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 26, 2020 at 09:46:47AM -0500, Justin King wrote: > Nope, it was just these tables that were looping over and over while > nothing else was getting autovac'd. I'm happy to share the full log > if you'd like. Thanks, that could help. If that's very large, it could be a problem to send that to the lists, but you could send me directly a link to it and I'll try to extract more information for the lists. While testing for reproducing the issue, I have noticed that basically one set of catalog tables happened to see this "skipping redundant" log.=20 And I am wondering if we have a match with the set of catalog tables looping. > I did have to remove it from this state, but I can undo my workaround > and, undoubtedly, it'll end up back there. Let me know if there's > something specific you'd like me to provide when it happens! For now I think it's fine. Note that Julien and I have an environment where the issue can be reproduced easily (it takes roughly 12 hours until the wraparound cutoffs are reached with the benchmark and settings used), and we are checking things using a patched instance with 2aa6e33 reverted. I think that we are accumulating enough evidence that this change was not a good idea anyway thanks to the information you sent, so likely we'll finish first by a revert of 2aa6e33 from the master and REL_12_STABLE branches, before looking at the issues with the catalogs for those anti-wraparound and non-aggressive jobs (this looks like a relcache issue with the so-said catalogs). -- Michael --C7zPtVaVf+AK4Oqc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl59iyQACgkQnvQgOdby QH3gcw//RRP9pr9/jumxOgTivKrzWEBoCY56M7r4pT0J3R/Rt/+lxsePIT6wZ1FE 8EYb1rOxoiCU9TfzI9ClF8WkLOky+lYa1yncm3/s0zKYKJ7MYZxXTB+CRpY6FsN5 CgBIXWs/pVW3NBgc/n/1MVy8xR1S1fkWJHE8UElsPLejb2pP9HmZt/kwqWcAbdPF Vwyb9j88A+VTmWvXuwoaFLqBR9yp3Wz7vteSAWUaRhwI/5v2pe1Tu6KPdYJpkClV oL0A4DYdLPR0rDq7xF/rsUOmEKHj4t641PUa2ZR7CuHHaqKOxUsJE0PGRwzTnVUl avppDYbXCtPdPi5/JLmDb+C5FIN+uRK+QYO5mHtUvlCOq4jQTYKTcgG+7UsunJdy 2pCspDgkc5twvdJuHK+aGnujU5uQZoTmRSL6PjKXKff28Y5y4eVTKwKfw+/6HCPr 3ahvZBoVfcuyfr/z3VoheYkAAB06lcN+HF+HlaBR9SQ1cJol7ARfaf7q7ptFhVxY gofQXQSqcDsEfwdsEp1CUR2E9vd+1aK0Olc4YnABNUN28xCAQK9Nr78lYbePCpKs gao7Id1zFTf2u7TlI8JVhFefbGoXx2ltvF8HzIW8Ze2wHlCIKPNbI64AG6p+B2Ui jIQdr0r11oy1zgsneRtYTr8ZmhLK6jt5PaGCm2DdCm6Shc92Qxs= =7s3Y -----END PGP SIGNATURE----- --C7zPtVaVf+AK4Oqc--