pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrus <kobruleht2@hot.ee>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Niels Jespersen <NJN@dst.dk>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Michael Paquier <michael@paquier.xyz>
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: Wed, 10 Mar 2021 11:10:14 +0200
Message-ID: <2b675d25-e86c-ea29-b02e-6bad5d55fbe3@hot.ee> (raw)
In-Reply-To: <2586bd2e-77d4-e3e2-2f30-d5c83f52f001@hot.ee>
References: <3861ff1e-0923-7838-e826-094cc9bef737@hot.ee>
	<676dc946300076e60d6af455ac1bfa489fbbdd8b.camel@cybertec.at>
	<97e00b3b-9357-4386-d4bd-b9128e4b8924@hot.ee>
	<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>

Today log file contains

2021-03-10 11:01:58 EET     checkpointer LOG:  could not rename file 
"pg_wal/000000010000000A0000003B": Permission denied

messages. Resource Manager shows that 000000010000000A0000003B is is 
locked by process 30376


According to pg_stat_activity this is regular postgres process which is 
in idle state and waiting for ClientRead event. It has executed last 
query  an hour ago.

It looks like wal files are not released after usage.

Andrus.

Attachments:

ngleidpkbkmfnhmj.png (image/png, 77.3K) download view image

view thread (34+ messages)  latest in thread

Message-ID: <2b675d25-e86c-ea29-b02e-6bad5d55fbe3@hot.ee>
Permalink:  ../2b675d25-e86c-ea29-b02e-6bad5d55fbe3@hot.ee/
Also on:    postgresql.org/message-id/2b675d25-e86c-ea29-b02e-6bad5d55fbe3@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, thomas.munro@gmail.com, NJN@dst.dk, tgl@sss.pgh.pa.us, michael@paquier.xyz, laurenz.albe@cybertec.at
  Subject: Re: Log files polluted with permission denied error messages after every 10 seconds
  In-Reply-To: <2b675d25-e86c-ea29-b02e-6bad5d55fbe3@hot.ee>
  References: <3861ff1e-0923-7838-e826-094cc9bef737@hot.ee> <676dc946300076e60d6af455ac1bfa489fbbdd8b.camel@cybertec.at> <97e00b3b-9357-4386-d4bd-b9128e4b8924@hot.ee> <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>

* 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