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 1lMXuZ-0001su-2g for pgsql-general@arkaria.postgresql.org; Wed, 17 Mar 2021 15:16:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lMXuX-0004rv-5V for pgsql-general@arkaria.postgresql.org; Wed, 17 Mar 2021 15:16:37 +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 1lMXuW-0004ro-PZ for pgsql-general@lists.postgresql.org; Wed, 17 Mar 2021 15:16:36 +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 1lMXuT-0005X4-CP for pgsql-general@postgresql.org; Wed, 17 Mar 2021 15:16:35 +0000 Received: from localhost (localhost [127.0.0.1]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id 69A6F1ABD; Wed, 17 Mar 2021 17:16:30 +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 k74JTUVdDhnQ; Wed, 17 Mar 2021 17:16:27 +0200 (EET) Received: from mail.hot.ee (hot-relayhost1.estpak.ee [213.180.2.79]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id BD9391CF2; Wed, 17 Mar 2021 17:16:27 +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> <843d2c8b-2e7a-8d4f-940a-2e3283690026@hot.ee> <908a9bcb7a29d5a2edbe354d1a4b2c91d709f212.camel@cybertec.at> From: Andrus Message-ID: <972f1f26-05fa-a284-c382-2a0e8ff4d179@hot.ee> Date: Wed, 17 Mar 2021 17:16:16 +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: <908a9bcb7a29d5a2edbe354d1a4b2c91d709f212.camel@cybertec.at> Content-Type: multipart/alternative; boundary="------------AA48E173909795D085D7C937" 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. --------------AA48E173909795D085D7C937 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi! > Doesn't look like these are error messages. > > There should be error messages that correspond to the error messages you see in the PostgreSQL log. I excluded SUCCESS and DELETE PENDING results and included pg_wal path and postgres.exe process. Log file contains only few entries, BUFFER OVERFLOW and NAME NOT FOUND 17:07:09,9618758    postgres.exe    11800 QueryAllInformationFile    C:\Program Files\PostgreSQL\13\data\pg_wal\000000010000001300000021    BUFFER OVERFLOW    CreationTime: 16.03.2021 20:04:57, LastAccessTime: 17.03.2021 16:58:43, LastWriteTime: 17.03.2021 16:58:43, ChangeTime: 17.03.2021 16:58:43, FileAttributes: A, AllocationSize: 16 777 216, EndOfFile: 16 777 216, NumberOfLinks: 1, DeletePending: False, Directory: False, IndexNumber: 0x38100000009ffb4, EaSize: 0, Access: Read Attributes, Synchronize, Position: 0, Mode: Synchronous IO Non-Alert, AlignmentRequirement: Byte 17:07:09,9624993    postgres.exe    11800 QueryAllInformationFile    C:\Program Files\PostgreSQL\13\data\pg_wal\000000010000001300000023    BUFFER OVERFLOW    CreationTime: 16.03.2021 20:04:57, LastAccessTime: 17.03.2021 17:07:09, LastWriteTime: 17.03.2021 17:07:09, ChangeTime: 17.03.2021 17:07:09, FileAttributes: A, AllocationSize: 16 777 216, EndOfFile: 16 777 216, NumberOfLinks: 1, DeletePending: False, Directory: False, IndexNumber: 0x20000000a010c, EaSize: 0, Access: Read Attributes, Synchronize, Position: 0, Mode: Synchronous IO Non-Alert, AlignmentRequirement: Byte 17:07:09,9630741    postgres.exe    11800 QueryAllInformationFile    C:\Program Files\PostgreSQL\13\data\pg_wal\000000010000001300000024    BUFFER OVERFLOW    CreationTime: 16.03.2021 20:04:57, LastAccessTime: 16.03.2021 20:05:12, LastWriteTime: 16.03.2021 20:05:12, ChangeTime: 16.03.2021 20:15:24, FileAttributes: A, AllocationSize: 16 777 216, EndOfFile: 16 777 216, NumberOfLinks: 1, DeletePending: False, Directory: False, IndexNumber: 0x20000000a010d, EaSize: 0, Access: Read Attributes, Synchronize, Position: 0, Mode: Synchronous IO Non-Alert, AlignmentRequirement: Byte 17:07:09,9636100    postgres.exe    11800 QueryAllInformationFile    C:\Program Files\PostgreSQL\13\data\pg_wal\000000010000001300000025    BUFFER OVERFLOW    CreationTime: 16.03.2021 20:04:57, LastAccessTime: 16.03.2021 20:05:12, LastWriteTime: 16.03.2021 20:05:12, ChangeTime: 16.03.2021 20:15:24, FileAttributes: A, AllocationSize: 16 777 216, EndOfFile: 16 777 216, NumberOfLinks: 1, DeletePending: False, Directory: False, IndexNumber: 0x20000000a010e, EaSize: 0, Access: Read Attributes, Synchronize, Position: 0, Mode: Synchronous IO Non-Alert, AlignmentRequirement: Byte 17:07:09,9641594    postgres.exe    11800 QueryAllInformationFile    C:\Program Files\PostgreSQL\13\data\pg_wal\000000010000001300000026    BUFFER OVERFLOW    CreationTime: 16.03.2021 20:04:57, LastAccessTime: 16.03.2021 20:05:13, LastWriteTime: 16.03.2021 20:05:13, ChangeTime: 16.03.2021 20:15:24, FileAttributes: A, AllocationSize: 16 777 216, EndOfFile: 16 777 216, NumberOfLinks: 1, DeletePending: False, Directory: False, IndexNumber: 0x20000000a010f, EaSize: 0, Access: Read Attributes, Synchronize, Position: 0, Mode: Synchronous IO Non-Alert, AlignmentRequirement: Byte 17:07:09,9659048    postgres.exe    11800    CreateFile C:\Program Files\PostgreSQL\13\data\pg_wal    IS DIRECTORY Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: N, ShareMode: Read, Write, Delete, AllocationSize: n/a 17:07:09,9661026    postgres.exe    11800 QueryAllInformationFile    C:\Program Files\PostgreSQL\13\data\pg_wal    BUFFER OVERFLOW CreationTime: 10.02.2021 14:07:18, LastAccessTime: 17.03.2021 17:07:09, LastWriteTime: 17.03.2021 17:07:09, ChangeTime: 17.03.2021 17:07:09, FileAttributes: D, AllocationSize: 196 608, EndOfFile: 196 608, NumberOfLinks: 1, DeletePending: False, Directory: True, IndexNumber: 0x1000000055e2b, EaSize: 0, Access: Read Attributes, Synchronize, Position: 0, Mode: Synchronous IO Non-Alert, AlignmentRequirement: Byte 17:07:09,9666396    postgres.exe    11800    CreateFile C:\Program Files\PostgreSQL\13\data\pg_wal\archive_status\000000010000001300000021.done NAME NOT FOUND    Desired Access: Read Attributes, Delete, Disposition: Open, Options: Non-Directory File, Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a 17:07:09,9667813    postgres.exe    11800    CreateFile C:\Program Files\PostgreSQL\13\data\pg_wal\archive_status\000000010000001300000021.ready NAME NOT FOUND    Desired Access: Read Attributes, Delete, Disposition: Open, Options: Non-Directory File, Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a 17:07:09,9668956    postgres.exe    11800    QueryDirectory C:\Program Files\PostgreSQL\13\data\pg_wal    NO MORE FILES FileInformationClass: FileBothDirectoryInformation Andrus. --------------AA48E173909795D085D7C937 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit Hi!
Doesn't look like these are error messages.

There should be error messages that correspond to the error messages you see in the PostgreSQL log.

I excluded SUCCESS and DELETE PENDING results and included pg_wal path and postgres.exe process.

Log file contains only few entries, BUFFER OVERFLOW and NAME NOT FOUND

17:07:09,9618758    postgres.exe    11800    QueryAllInformationFile    C:\Program Files\PostgreSQL\13\data\pg_wal\000000010000001300000021    BUFFER OVERFLOW    CreationTime: 16.03.2021 20:04:57, LastAccessTime: 17.03.2021 16:58:43, LastWriteTime: 17.03.2021 16:58:43, ChangeTime: 17.03.2021 16:58:43, FileAttributes: A, AllocationSize: 16 777 216, EndOfFile: 16 777 216, NumberOfLinks: 1, DeletePending: False, Directory: False, IndexNumber: 0x38100000009ffb4, EaSize: 0, Access: Read Attributes, Synchronize, Position: 0, Mode: Synchronous IO Non-Alert, AlignmentRequirement: Byte
17:07:09,9624993    postgres.exe    11800    QueryAllInformationFile    C:\Program Files\PostgreSQL\13\data\pg_wal\000000010000001300000023    BUFFER OVERFLOW    CreationTime: 16.03.2021 20:04:57, LastAccessTime: 17.03.2021 17:07:09, LastWriteTime: 17.03.2021 17:07:09, ChangeTime: 17.03.2021 17:07:09, FileAttributes: A, AllocationSize: 16 777 216, EndOfFile: 16 777 216, NumberOfLinks: 1, DeletePending: False, Directory: False, IndexNumber: 0x20000000a010c, EaSize: 0, Access: Read Attributes, Synchronize, Position: 0, Mode: Synchronous IO Non-Alert, AlignmentRequirement: Byte
17:07:09,9630741    postgres.exe    11800    QueryAllInformationFile    C:\Program Files\PostgreSQL\13\data\pg_wal\000000010000001300000024    BUFFER OVERFLOW    CreationTime: 16.03.2021 20:04:57, LastAccessTime: 16.03.2021 20:05:12, LastWriteTime: 16.03.2021 20:05:12, ChangeTime: 16.03.2021 20:15:24, FileAttributes: A, AllocationSize: 16 777 216, EndOfFile: 16 777 216, NumberOfLinks: 1, DeletePending: False, Directory: False, IndexNumber: 0x20000000a010d, EaSize: 0, Access: Read Attributes, Synchronize, Position: 0, Mode: Synchronous IO Non-Alert, AlignmentRequirement: Byte
17:07:09,9636100    postgres.exe    11800    QueryAllInformationFile    C:\Program Files\PostgreSQL\13\data\pg_wal\000000010000001300000025    BUFFER OVERFLOW    CreationTime: 16.03.2021 20:04:57, LastAccessTime: 16.03.2021 20:05:12, LastWriteTime: 16.03.2021 20:05:12, ChangeTime: 16.03.2021 20:15:24, FileAttributes: A, AllocationSize: 16 777 216, EndOfFile: 16 777 216, NumberOfLinks: 1, DeletePending: False, Directory: False, IndexNumber: 0x20000000a010e, EaSize: 0, Access: Read Attributes, Synchronize, Position: 0, Mode: Synchronous IO Non-Alert, AlignmentRequirement: Byte
17:07:09,9641594    postgres.exe    11800    QueryAllInformationFile    C:\Program Files\PostgreSQL\13\data\pg_wal\000000010000001300000026    BUFFER OVERFLOW    CreationTime: 16.03.2021 20:04:57, LastAccessTime: 16.03.2021 20:05:13, LastWriteTime: 16.03.2021 20:05:13, ChangeTime: 16.03.2021 20:15:24, FileAttributes: A, AllocationSize: 16 777 216, EndOfFile: 16 777 216, NumberOfLinks: 1, DeletePending: False, Directory: False, IndexNumber: 0x20000000a010f, EaSize: 0, Access: Read Attributes, Synchronize, Position: 0, Mode: Synchronous IO Non-Alert, AlignmentRequirement: Byte
17:07:09,9659048    postgres.exe    11800    CreateFile    C:\Program Files\PostgreSQL\13\data\pg_wal    IS DIRECTORY    Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: N, ShareMode: Read, Write, Delete, AllocationSize: n/a
17:07:09,9661026    postgres.exe    11800    QueryAllInformationFile    C:\Program Files\PostgreSQL\13\data\pg_wal    BUFFER OVERFLOW    CreationTime: 10.02.2021 14:07:18, LastAccessTime: 17.03.2021 17:07:09, LastWriteTime: 17.03.2021 17:07:09, ChangeTime: 17.03.2021 17:07:09, FileAttributes: D, AllocationSize: 196 608, EndOfFile: 196 608, NumberOfLinks: 1, DeletePending: False, Directory: True, IndexNumber: 0x1000000055e2b, EaSize: 0, Access: Read Attributes, Synchronize, Position: 0, Mode: Synchronous IO Non-Alert, AlignmentRequirement: Byte
17:07:09,9666396    postgres.exe    11800    CreateFile    C:\Program Files\PostgreSQL\13\data\pg_wal\archive_status\000000010000001300000021.done    NAME NOT FOUND    Desired Access: Read Attributes, Delete, Disposition: Open, Options: Non-Directory File, Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
17:07:09,9667813    postgres.exe    11800    CreateFile    C:\Program Files\PostgreSQL\13\data\pg_wal\archive_status\000000010000001300000021.ready    NAME NOT FOUND    Desired Access: Read Attributes, Delete, Disposition: Open, Options: Non-Directory File, Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
17:07:09,9668956    postgres.exe    11800    QueryDirectory    C:\Program Files\PostgreSQL\13\data\pg_wal    NO MORE FILES    FileInformationClass: FileBothDirectoryInformation

Andrus.
--------------AA48E173909795D085D7C937--