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 1lM8MB-0003BX-0a for pgsql-general@arkaria.postgresql.org; Tue, 16 Mar 2021 11:59: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 1lM8M9-00081f-Su for pgsql-general@arkaria.postgresql.org; Tue, 16 Mar 2021 11:59: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 1lM8M9-00081S-Kg for pgsql-general@lists.postgresql.org; Tue, 16 Mar 2021 11:59:25 +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 1lM8M6-0000nN-Qx for pgsql-general@postgresql.org; Tue, 16 Mar 2021 11:59:25 +0000 Received: from localhost (localhost [127.0.0.1]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id 25B951D7F; Tue, 16 Mar 2021 13:59:21 +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 7sRvh6JARN+E; Tue, 16 Mar 2021 13:59:18 +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 4BF401DA2; Tue, 16 Mar 2021 13:59:18 +0200 (EET) Subject: Re: SV: Log files polluted with permission denied error messages after every 10 seconds To: Michael Paquier Cc: Thomas Munro , Niels Jespersen , Tom Lane , Laurenz Albe , pgsql-general References: <1881481.1615240712@sss.pgh.pa.us> <94330326-5fa0-279a-937c-c4806e1fcd5a@hot.ee> <2586bd2e-77d4-e3e2-2f30-d5c83f52f001@hot.ee> <2b675d25-e86c-ea29-b02e-6bad5d55fbe3@hot.ee> <22ec98b1-cc2f-8e6a-f1d7-ee528237f2fb@hot.ee> From: Andrus Message-ID: <78e6daee-0323-752d-c142-263a80154e18@hot.ee> Date: Tue, 16 Mar 2021 13:59:07 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------08A3100B874996D21FE01851" 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. --------------08A3100B874996D21FE01851 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Hi > Where you getting the Postgres binaries from? https://www.enterprisedb.com/downloads/postgres-postgresql-downloads > If we provide a patch, could you test it? Yes > This would require that you do your own build, > unfortunately, but having an environment where this is easily > reproducible is a key thing. I used C last time many years ago. I'm working in C# with Visual Studio 2019. I have two Windows 2019 servers. In Intel Xeon Cold 6226R server it occurs after every 10 seconds. Last logs: 2021-03-16 13:48:12 EET     checkpointer LOG:  could not rename file "pg_wal/000000010000001100000097": Permission denied 2021-03-16 13:48:22 EET     checkpointer LOG:  could not rename file "pg_wal/000000010000001100000098": Permission denied 2021-03-16 13:48:32 EET     checkpointer LOG:  could not rename file "pg_wal/000000010000001100000099": Permission denied 2021-03-16 13:48:42 EET     checkpointer LOG:  could not rename file "pg_wal/00000001000000110000009A": Permission denied 2021-03-16 13:48:52 EET     checkpointer LOG:  could not rename file "pg_wal/00000001000000110000009D": Permission denied 2021-03-16 13:49:02 EET     checkpointer LOG:  could not rename file "pg_wal/0000000100000011000000A0": Permission denied In AMD Ryzen 3970X Threadripper 32 core processor server in also occurs many times per day day but less frequently. Last logs: 2021-03-16 13:45:20 EET     checkpointerLOG:  could not rename file "pg_wal/000000010000004E000000FB": Permission denied 2021-03-16 13:50:02 EET     checkpointerLOG:  could not rename file "pg_wal/000000010000004E000000FB": Permission denied 2021-03-16 13:50:13 EET     checkpointerLOG:  could not rename file "pg_wal/000000010000004F00000082": Permission denied So It should be probably reproducible in any Windows 2019 server. Andrus. --------------08A3100B874996D21FE01851 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit Hi
Where you getting the Postgres binaries from?  

https://www.enterprisedb.com/downloads/postgres-postgresql-downloads

If we provide a patch, could you test it?  
Yes
This would require that you do your own build,
unfortunately, but having an environment where this is easily
reproducible is a key thing.

I used C last time many years ago. I'm working in C# with Visual Studio 2019.

I have two Windows 2019 servers. In Intel Xeon Cold 6226R server it occurs after every 10 seconds. Last logs:

2021-03-16 13:48:12 EET     checkpointer LOG:  could not rename file "pg_wal/000000010000001100000097": Permission denied
2021-03-16 13:48:22 EET     checkpointer LOG:  could not rename file "pg_wal/000000010000001100000098": Permission denied
2021-03-16 13:48:32 EET     checkpointer LOG:  could not rename file "pg_wal/000000010000001100000099": Permission denied
2021-03-16 13:48:42 EET     checkpointer LOG:  could not rename file "pg_wal/00000001000000110000009A": Permission denied
2021-03-16 13:48:52 EET     checkpointer LOG:  could not rename file "pg_wal/00000001000000110000009D": Permission denied
2021-03-16 13:49:02 EET     checkpointer LOG:  could not rename file "pg_wal/0000000100000011000000A0": Permission denied

In AMD Ryzen 3970X Threadripper 32 core processor server in also occurs many times per day day but less frequently. Last logs:

2021-03-16 13:45:20 EET     checkpointerLOG:  could not rename file "pg_wal/000000010000004E000000FB": Permission denied
2021-03-16 13:50:02 EET     checkpointerLOG:  could not rename file "pg_wal/000000010000004E000000FB": Permission denied
2021-03-16 13:50:13 EET     checkpointerLOG:  could not rename file "pg_wal/000000010000004F00000082": Permission denied

So It should be probably reproducible in any Windows 2019 server.

Andrus.

--------------08A3100B874996D21FE01851--