Re: Log files polluted with permission denied error messages after every 10 seconds

shammat@gmx.net

From: Thomas Kellerer <shammat@gmx.net>
To: pgsql-general@lists.postgresql.org
Date: 2021-03-09T10:19:22Z
Lists: pgsql-general

Andrus schrieb am 05.03.2021 um 18:36:
> Hi!
>
>>Windows? Don't let anti-virus software mess with the data directory.
>
> Windows default Windows Defender is active. I excluded data, pg_wal folders and postgres process:
>
>
> Then turned real-time protection off:
>
> Problem persists. New entry is written after every 10 seconds.
>
> pg_wal also contains files with .deleted extension like
>
> 0000000100000005000000B2.deleted
>
> Andrus.
>
>
The data directory should not be stored in "C:\Program File"s on Windows.

I wouldn't be surprised if "Program Files" has some additional security settings that come into play here.

%ProgramData% is a better location for the data directory.


Thomas



Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Fix concurrency issues with WAL segment recycling on Windows