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 1lMWCj-0005hW-PD for pgsql-general@arkaria.postgresql.org; Wed, 17 Mar 2021 13:27:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lMWCi-0006Pi-NQ for pgsql-general@arkaria.postgresql.org; Wed, 17 Mar 2021 13:27:16 +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 1lMWCi-0006Pb-FX for pgsql-general@lists.postgresql.org; Wed, 17 Mar 2021 13:27:16 +0000 Received: from portal-smtp-out.hot.ee ([194.126.101.125]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lMWCf-0004bj-A5 for pgsql-general@postgresql.org; Wed, 17 Mar 2021 13:27:15 +0000 Received: from localhost (localhost [127.0.0.1]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id 461891C4F; Wed, 17 Mar 2021 15:27:10 +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 S44koREBOPxy; Wed, 17 Mar 2021 15:27:07 +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 D91DE14C7; Wed, 17 Mar 2021 15:27:07 +0200 (EET) Subject: Re: SV: Log files polluted with permission denied error messages after every 10 seconds To: Laurenz Albe , Michael Paquier Cc: Thomas Munro , Niels Jespersen , Tom Lane , 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> <78e6daee-0323-752d-c142-263a80154e18@hot.ee> <6538dfd4-9820-6e30-3eb3-5e035d8aba05@hot.ee> <7f13c1a55d615265364a888801ca3a7272df9c5a.camel@cybertec.at> From: Andrus Message-ID: <843d2c8b-2e7a-8d4f-940a-2e3283690026@hot.ee> Date: Wed, 17 Mar 2021 15:26:56 +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: <7f13c1a55d615265364a888801ca3a7272df9c5a.camel@cybertec.at> Content-Type: multipart/alternative; boundary="------------3D2473A327692EB79209D7A4" 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. --------------3D2473A327692EB79209D7A4 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi! > I think what it would be most helpful to run "process monitor", so that you get > a log of the system calls and errors; perhaps that shows some details that > we cannot get from the error message. > Process monitor shows huge number of DELETE PENDING results from CreateFile operation: 15:22:35,1708187    postgres.exe    11800    CreateFile C:\Program Files\PostgreSQL\13\data\pg_wal\00000001000000110000003B    DELETE PENDING    Desired Access: Read Attributes, Delete, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a 15:22:35,2713856    postgres.exe    11800    CreateFile C:\Program Files\PostgreSQL\13\data\pg_wal\00000001000000110000003B    DELETE PENDING    Desired Access: Read Attributes, Delete, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a 15:22:35,3719483    postgres.exe    11800    CreateFile C:\Program Files\PostgreSQL\13\data\pg_wal\00000001000000110000003B    DELETE PENDING    Desired Access: Read Attributes, Delete, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a 15:22:35,4723624    postgres.exe    11800    CreateFile C:\Program Files\PostgreSQL\13\data\pg_wal\00000001000000110000003B    DELETE PENDING    Desired Access: Read Attributes, Delete, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a Andrus. --------------3D2473A327692EB79209D7A4 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Hi!


I think what it would be most helpful to run "process monitor", so that you get
a log of the system calls and errors; perhaps that shows some details that
we cannot get from the error message.

Process monitor shows huge number of DELETE PENDING results from CreateFile operation:

15:22:35,1708187    postgres.exe    11800    CreateFile    C:\Program Files\PostgreSQL\13\data\pg_wal\00000001000000110000003B    DELETE PENDING    Desired Access: Read Attributes, Delete, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a

15:22:35,2713856    postgres.exe    11800    CreateFile    C:\Program Files\PostgreSQL\13\data\pg_wal\00000001000000110000003B    DELETE PENDING    Desired Access: Read Attributes, Delete, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a

15:22:35,3719483    postgres.exe    11800    CreateFile    C:\Program Files\PostgreSQL\13\data\pg_wal\00000001000000110000003B    DELETE PENDING    Desired Access: Read Attributes, Delete, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a

15:22:35,4723624    postgres.exe    11800    CreateFile    C:\Program Files\PostgreSQL\13\data\pg_wal\00000001000000110000003B    DELETE PENDING    Desired Access: Read Attributes, Delete, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a

Andrus.


--------------3D2473A327692EB79209D7A4--