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 1lJ2yY-0005uR-Jy for pgsql-general@arkaria.postgresql.org; Sun, 07 Mar 2021 23:38:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lJ2yX-0007wu-BQ for pgsql-general@arkaria.postgresql.org; Sun, 07 Mar 2021 23:38:17 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lJ2yW-0007wO-15 for pgsql-general@lists.postgresql.org; Sun, 07 Mar 2021 23:38:17 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lJ2yR-0007oA-Em for pgsql-general@postgresql.org; Sun, 07 Mar 2021 23:38:14 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 335282A36; Sun, 7 Mar 2021 18:38:09 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 07 Mar 2021 18:38:09 -0500 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=MbuDzb709z6n1hXGVP06B176gWO ym4MxwPGRpj8UuRg=; b=0KAq9iYoUHTSCEA3VZOs42f1DTdBPn3YCdZc154D3j6 CBYhNM4csfd3UZ2JoRi3YvKRF7nw3ZczP9ybDjwIHnB1iQJMAfnjUGkz95ju7yvY PAlBxKr2viPFWrh2ShD9lun7jGr1YXpcshHc5GO/wb/A/0jjovdUkpYAft2IikUh aAjVKtKHjeKV5HkDXAYAp4PgXYi4pM+7ZUELZm1m3WliF77M9TNrMKn55h3i2aXK S2otCWAbxFG/B6RZa7s49llLcER5h6YNADRh6RihF8+fPkYLY3/iaGBfCpsKtDl8 JR9CAflAScoBTj8/v9n++eYIda3QhvlYdf524Z5Gkvw== 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=MbuDzb 709z6n1hXGVP06B176gWOym4MxwPGRpj8UuRg=; b=jStvDS7CtVdhcfF4QR5V3a tHpht7+1vYbcEWpebTcopHqRCWud+5OKJ62wSBRwegph693nLrxffEafchH1tPVt nmfXDUTVzVoeJKw2jshzJE0bWjJO/qmLhzN0KShGZCwpd/gfGkG/WPGIzg7j3LOc MPLXlPUErL0kqmqSymbkub2xatR0BWSBxStk7/KrRk6mZVXsqSq9b8zq4onvzcK9 gABbEwGxkCuwXH2aAGEvi7xOf++TBaY2GYOlppaY1BoIeJUmKUl1Ly0f33+dAZ5g c5RK7nesQ7/Djx3spMDnSrpcYeKfiINCEqENBAVlRQBr/OAbGyyWs/J5TmOxnfeA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudduuddguddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpedvgeduuefhtdeuleettdevjeeh heeiveeuieegleetgeeljeelieeuieehgeevhfenucfkphepudduuddruddtvddrudektd drudekheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehmihgthhgrvghlsehprghquhhivghrrdighiii 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 D2954240057; Sun, 7 Mar 2021 18:38:06 -0500 (EST) Date: Mon, 8 Mar 2021 08:38:02 +0900 From: Michael Paquier To: Andrus Cc: Laurenz Albe , pgsql-general Subject: Re: Log files polluted with permission denied error messages after every 10 seconds Message-ID: References: <3861ff1e-0923-7838-e826-094cc9bef737@hot.ee> <676dc946300076e60d6af455ac1bfa489fbbdd8b.camel@cybertec.at> <97e00b3b-9357-4386-d4bd-b9128e4b8924@hot.ee> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="mb1NcjhCYUs6ntED" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --mb1NcjhCYUs6ntED Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 07, 2021 at 11:45:26AM +0200, Andrus wrote: > Should files with .deleted extension deleted manually to save disk space ? > May of them have dates before today. RemoveOldXlogFiles() would discard any of those .deleted files because they don't match a legal WAL segment name, so checkpoints are not able to work on them even in the future. I would avoid meddling with anything that a backend may finish to touch while running, but that=20 should not really matter here as they are just never chosen for deletion. Piling up those files is not a good thing, so while you still need to figure out what's causing those files to remain around on your side, perhaps we should improve the situation in the backend itself. -- Michael --mb1NcjhCYUs6ntED Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmBFY9oACgkQnvQgOdby QH3NNA/+J0xyf9VwA/MCU+/pBnbXpDXK1X0vL78reuCTX30qeiYgokYN6xttSNPI Gwf2JVYQq08J2YKqJvZJVz6V+wj/dk8Xtq7NwxgmYPGzZiVo7LbqqaUJAaq9T4FO LbLaJuvM+yUhp4yQhx2VttsH+uhLzRmsp/ylE1RFlKGh9Iwp7f4YN1ZyLJnGlmZF 4jMSKBY5TiHEnNv/A9HqkVJyS920CWiHAYd/nn3DlmK4/uNlLXro42tMPswlMjk0 +n4i55DFmtqtYIZKD4PO3B/rol8B343iHLctni+uWLBkxIaZYlStIKG4hxREN8hT mFwS9cPlCdI8666uCdt+eon8uM5PunvoaLEsPh8cYussccQ7RTXlyttmfLQtPZbq aLm5AB+Z65AreUyH6TWmNVrEQGf/PxaLdfQamHbqvuDxSmWvsQyPr8U75546HiUu 6pDphtnDM7wCPC0QBnmr9Xc8Sfy6FG1eVQgJZ1eZJHlJc1+q9zS89XVmlEBe/0E6 cSqzJpm7cyHKyOhAub/VmsGyVicng+1YKTgtSNq+pH8GxgDoJ4YzEneOAsdKaV5r L39W14xa3htDDj/PozjfFOjy9L9gLLXMIp80pgrkGJe5hcrp78hqrIMoV2qGHxZ7 M8JdzpJ6KmLIqphDMdA3g7Ss6/o1JTRsXZ0TnQSQt6gNAt3hyIA= =yfok -----END PGP SIGNATURE----- --mb1NcjhCYUs6ntED--