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 1lM5Fl-0003r2-9U for pgsql-bugs@arkaria.postgresql.org; Tue, 16 Mar 2021 08:40:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lM5Fk-0005Tv-3L for pgsql-bugs@arkaria.postgresql.org; Tue, 16 Mar 2021 08:40:36 +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 1lM5Fj-0005To-41 for pgsql-bugs@lists.postgresql.org; Tue, 16 Mar 2021 08:40:35 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lM5Ff-0007Zn-3W for pgsql-bugs@lists.postgresql.org; Tue, 16 Mar 2021 08:40:34 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id D354C288B; Tue, 16 Mar 2021 04:40:26 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Tue, 16 Mar 2021 04:40:27 -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=VEHVf+ErwhJKNiQ9ARalyU0N5hb lciEPXCkJae84iSE=; b=iNhIamN8rG9xvtGajBMAWRMHMKFdi43bdYbmn0G+JXK 4zdWuZej5X4bKuCWzWy99okBpAs9jgjqXah9lGxhiUitNo1THkKXmLmk3eVEYCmp efdj4gg33E88B2hgwJf27c2tkRDvr5nZk9GMaFoP6W+DEi9tBLiEIzeaM91pou7W bhGQUnWaR8Np9dG+5Ex5U/OMrPzmwNpGYEzCv3iO3t63knOU7YjDRgL7y1gLNV27 hgq3ocETk3oBeciQnB8Kx49XHOgVobbOULs51I8P2iaSBnZvdepOnIacYtsshWi9 nrNoHuJYXxsirQu0/lCSEph9+91rCeS6tQZtXrm7jng== 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=VEHVf+ ErwhJKNiQ9ARalyU0N5hblciEPXCkJae84iSE=; b=M9qhBivgdTTev/GJRXxzim CJFx1GjUSUQGqd4cUeKeG/ucpbZ74aJHB8nOj5XRHIdMxZk9TW3vtjWQa9ACgkzq aSvrfGkiKeP7PK7VGTQxoso5q17inUxTk8LPO1W8HxLt2MuLkhIP1SAEVp6UsvJJ 4YjIkcjNuRELHvWxWthdpBzuF848u4Bif51A+q28FUp/0KWlqYNSopCEmoqqBtEW +JzTfFMle36jCACElFYzjiSBCFO/T44y5qTV/JCetz1qjk3mXele7qHtcRke7+IJ tThwdIiKVCioXo9Iq/ti0QHz19GHAf12aBqTlTX2LN9tHdtmyQBjQg0iHbE4rwOA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudefuddguddvfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enfghrlhcuvffnffculdefhedmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredt tdejnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepueekuedttdelvddvfeejheff leeuffekteelgfeuffefteeigeehkeegueeflefgnecuffhomhgrihhnpehpohhsthhgrh gvshhqlhdrohhrghenucfkphepudduuddruddtvddrudektddrudekheenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprg hquhhivghrrdighiii 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 2BD7B1080063; Tue, 16 Mar 2021 04:40:24 -0400 (EDT) Date: Tue, 16 Mar 2021 17:40:17 +0900 From: Michael Paquier To: =?utf-8?B?0K/RgNC+0YHQu9Cw0LIg0J/QsNGI0LjQvdGB0LrQuNC5?= Cc: Postgres bugs Subject: Re: BUG #16927: Postgres can`t access WAL files Message-ID: References: <16927-67c570d968c99567@postgresql.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gNxEmBrGWnZ0t2Zz" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --gNxEmBrGWnZ0t2Zz Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable (Please keep pgsql-bugs in CC of this thread) On Tue, Mar 16, 2021 at 10:16:29AM +0200, =D0=AF=D1=80=D0=BE=D1=81=D0=BB=D0= =B0=D0=B2 =D0=9F=D0=B0=D1=88=D0=B8=D0=BD=D1=81=D0=BA=D0=B8=D0=B9 wrote: > 2021-03-15 00:08:20.563 EET [9936] LOG: could not rename temporary > statistics file "pg_stat_tmp/global.tmp" to "pg_stat_tmp/global.stat": > Permission denied This pattern is new. > I got this error also after updating from 9.6 to 13.2 Oh, sorry, I did not understand your last message as you used the word "updating", which sounded like you ran a set of minor updates for multiple servers and saw the same issue across all those versions. But what you mean is that you did one major upgrade, from 9.6 to 13. > So, the solution could be to rollback to 9.6 and then update to 12.X > version? There has been a collection of reports lately with 13.X misbehaving when it comes to the recycling of WAL segments: https://www.postgresql.org/message-id/3861ff1e-0923-7838-e826-094cc9bef737@= hot.ee https://www.postgresql.org/message-id/16874-c3eecd319e36a2bf@postgresql.org https://www.postgresql.org/message-id/095ccf8d-7f58-d928-427c-b17ace23cae6@= burgess.co.nz Your report is the 4th one of its kind, and based on the data collected up to now, 12.X or older major versions do not see the issue. I have begun a thread about the problem on -hackers, that's too much to be a coincidence, and more than one version of Windows sees the problem: https://www.postgresql.org/message-id/YFBcRbnBiPdGZvfW@paquier.xyz -- Michael --gNxEmBrGWnZ0t2Zz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmBQbvEACgkQnvQgOdby QH0b2Q//V5KmeyMia7f/N6wQ13nh+wuelanotz97VXHktXOf2ZyiKwm+7zAdbjoB 3+Nky16TliXeVFyJg7N0nqFd4o9GEKxdfUNTI4xsAA4LDxS3E9auZhnGsvCGJjA7 r9SdSfwzJMwRJEIUi7dDU6iTJsEoWE+E+23iRZzIYoC0WJGOU7FFvqUu8IEuyc2k DoYl428JbIEPO242mZxVewhKWX/N2USOu/MlnMel0p5jpNEYEjx376y04BW9NfT1 L967xgsW5h7YHBiv+SozaH7XrESAl30QSQwkqi62dzHu9kM8XS+C0Orkdsac8Oyh Z6eSq0go86Zw20hbjt/8BYPLif7L77tJUXmfuKKXvHXqg6ZD6Nbzz/hkPrHAGVwt FoWa4QfLp+kgW2uD/SWcuV6h/LAp9vEQbAiM2LE7mvBZvwXg9uwV40OqA4TPuUoF iAbY6OGdaz6dOdKc1IZvigyn3YQTpe8Zgt3Ofmn8YCJFtaJYRljna2c9stzGTbfL k/Vc8T4iedEobLlwCA5/w6XdkdLuPfrVyx7Yl4XceptdLwXNQ07mb2HUvw07gJlC 1lNGoupf8i4FDHUi+tvpA8bGO+tnXWj63dprKeuf35PcnpSM+Bo7+FiPe01r4/Wl fCsoJm1w0c0iPFcrk+f3QP4JH2CCaOhJ19donGQcc5mPsuoQnG0= =3GSp -----END PGP SIGNATURE----- --gNxEmBrGWnZ0t2Zz--