pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrus <kobruleht2@hot.ee>
To: Michael Paquier <michael@paquier.xyz>
Cc: Thomas Munro <thomas.munro@gmail.com>
Cc: Niels Jespersen <NJN@dst.dk>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: SV: Log files polluted with permission denied error messages after every 10 seconds
Date: Tue, 16 Mar 2021 13:59:07 +0200
Message-ID: <78e6daee-0323-752d-c142-263a80154e18@hot.ee> (raw)
In-Reply-To: <YFCH53atgYEUg4Uj@paquier.xyz>
References: <YELcpyM5Nc1H7L2m@paquier.xyz>
	<CA+hUKGLprgytAo1UfnGPP8sC9+cohTLMRW_o4zPXFSo-COa-Vg@mail.gmail.com>
	<1881481.1615240712@sss.pgh.pa.us>
	<af26b07f-1809-6229-9eff-61167723e61e@hot.ee>
	<a759c992bb0e4c53965323e4c25a480e@dst.dk>
	<94330326-5fa0-279a-937c-c4806e1fcd5a@hot.ee>
	<CA+hUKGLm_vYuqVPdB3dCW1Hms+ZeDosrrEiOzpL0orZCUE8gdA@mail.gmail.com>
	<2586bd2e-77d4-e3e2-2f30-d5c83f52f001@hot.ee>
	<2b675d25-e86c-ea29-b02e-6bad5d55fbe3@hot.ee>
	<22ec98b1-cc2f-8e6a-f1d7-ee528237f2fb@hot.ee>
	<YFCH53atgYEUg4Uj@paquier.xyz>

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.

view thread (34+ messages)  latest in thread

Message-ID: <78e6daee-0323-752d-c142-263a80154e18@hot.ee>
Permalink:  ../78e6daee-0323-752d-c142-263a80154e18@hot.ee/
Also on:    postgresql.org/message-id/78e6daee-0323-752d-c142-263a80154e18@hot.ee

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: kobruleht2@hot.ee, michael@paquier.xyz, thomas.munro@gmail.com, NJN@dst.dk, tgl@sss.pgh.pa.us, laurenz.albe@cybertec.at
  Subject: Re: Log files polluted with permission denied error messages after every 10 seconds
  In-Reply-To: <78e6daee-0323-752d-c142-263a80154e18@hot.ee>
  References: <YELcpyM5Nc1H7L2m@paquier.xyz> <CA+hUKGLprgytAo1UfnGPP8sC9+cohTLMRW_o4zPXFSo-COa-Vg@mail.gmail.com> <1881481.1615240712@sss.pgh.pa.us> <af26b07f-1809-6229-9eff-61167723e61e@hot.ee> <a759c992bb0e4c53965323e4c25a480e@dst.dk> <94330326-5fa0-279a-937c-c4806e1fcd5a@hot.ee> <CA+hUKGLm_vYuqVPdB3dCW1Hms+ZeDosrrEiOzpL0orZCUE8gdA@mail.gmail.com> <2586bd2e-77d4-e3e2-2f30-d5c83f52f001@hot.ee> <2b675d25-e86c-ea29-b02e-6bad5d55fbe3@hot.ee> <22ec98b1-cc2f-8e6a-f1d7-ee528237f2fb@hot.ee> <YFCH53atgYEUg4Uj@paquier.xyz> <78e6daee-0323-752d-c142-263a80154e18@hot.ee>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox