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 1miR4J-0005u3-5e for pgsql-admin@arkaria.postgresql.org; Thu, 04 Nov 2021 00:57:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1miR4H-00030I-4k for pgsql-admin@arkaria.postgresql.org; Thu, 04 Nov 2021 00:57:25 +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 1miR4G-000308-RO for pgsql-admin@lists.postgresql.org; Thu, 04 Nov 2021 00:57:24 +0000 Received: from mailout.easymail.ca ([64.68.200.34]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1miR4E-00079L-9p for pgsql-admin@lists.postgresql.org; Thu, 04 Nov 2021 00:57:24 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 8D9DC29AE9; Thu, 4 Nov 2021 00:57:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo02-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo02-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cZRFgrVTQYIM; Thu, 4 Nov 2021 00:57:19 +0000 (UTC) Received: from smtpclient.apple (unknown [4.28.96.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 3ADB22934F; Thu, 4 Nov 2021 00:57:19 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: q re removal/recycling of WAL files From: Scott Ribe In-Reply-To: <6F0CF776-AA45-4989-AF0D-084F57D74CD0@crazybean.net> Date: Wed, 3 Nov 2021 18:57:18 -0600 Cc: pgsql-admin Content-Transfer-Encoding: quoted-printable Message-Id: References: <4B485D8E-9692-4009-8562-43BC0E54C975@elevated-dev.com> <6F0CF776-AA45-4989-AF0D-084F57D74CD0@crazybean.net> To: Rui DeSousa X-Mailer: Apple Mail (2.3654.120.0.1.13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Nov 3, 2021, at 5:37 PM, Rui DeSousa wrote: >=20 > WAL file can=E2=80=99t be recycled until it is no longer needed; thus = after a checkpoint and archived as well (if enabled).=20 Ah yes, that's it! We are archiving WAL, and I imagine what happened = easily outran the pace of archiving. There was an exponential backoff between the retries, so although I = could imagine rapid-fire retries filling disk with WAL before checkpoint = running, I was having a little doubt about that happening in this case. = I'm sure it was the archiving.