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 1lIpyr-0004Aj-FA for pgsql-general@arkaria.postgresql.org; Sun, 07 Mar 2021 09:45:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lIpyq-0007nO-9G for pgsql-general@arkaria.postgresql.org; Sun, 07 Mar 2021 09:45:44 +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 1lIpyq-0007nG-1a for pgsql-general@lists.postgresql.org; Sun, 07 Mar 2021 09:45:44 +0000 Received: from portal-smtp-out.hot.ee ([194.126.101.125]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lIpyk-0003hj-Bn for pgsql-general@postgresql.org; Sun, 07 Mar 2021 09:45:43 +0000 Received: from localhost (localhost [127.0.0.1]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id EACCA1CB5; Sun, 7 Mar 2021 11:45:36 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at vm-hot-relay10.estpak.ee Received: from portal-smtp-out.hot.ee ([127.0.0.1]) by localhost (vm-hot-relay10.estpak.ee [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KDvYND2b9v4v; Sun, 7 Mar 2021 11:45:34 +0200 (EET) Received: from mail.hot.ee (hot-relayhost3.estpak.ee [213.180.2.81]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id B41031CC8; Sun, 7 Mar 2021 11:45:34 +0200 (EET) Subject: Re: Log files polluted with permission denied error messages after every 10 seconds To: Michael Paquier Cc: Laurenz Albe , pgsql-general References: <3861ff1e-0923-7838-e826-094cc9bef737@hot.ee> <676dc946300076e60d6af455ac1bfa489fbbdd8b.camel@cybertec.at> <97e00b3b-9357-4386-d4bd-b9128e4b8924@hot.ee> From: Andrus Message-ID: Date: Sun, 7 Mar 2021 11:45:26 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------EBF2C54DA28B1E4D407A224A" Content-Language: et List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------EBF2C54DA28B1E4D407A224A Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Hi! On Windows, RemoveXlogFile() would still rename a given WAL segment > file with a ".deleted" suffix with ou without wal_recycle in the case > where the a recycling of a WAL segment is not necessary, for example > if max_wal_size is already full. So this has no effect. Should files with .deleted extension deleted manually to save disk space ? May of them have dates before today. Andrus. --------------EBF2C54DA28B1E4D407A224A Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 7bit

Hi!

On Windows, RemoveXlogFile() would still rename a given WAL segment
file with a ".deleted" suffix with ou without wal_recycle in the case
where the a recycling of a WAL segment is not necessary, for example
if max_wal_size is already full.  So this has no effect.

Should files with .deleted extension deleted manually to save disk space ? May of them have dates before today.

Andrus.

--------------EBF2C54DA28B1E4D407A224A--