pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <shammat@gmx.net>
To: pgsql-general@lists.postgresql.org
Subject: Re: PostgreSQL occasionally unable to rename WAL files (NTFS)
Date: Tue, 16 Feb 2021 12:22:36 +0100
Message-ID: <ff8ec583-b202-bebb-4c70-8b4b338f8304@gmx.net> (raw)
In-Reply-To: <f444a84e-2d29-55f9-51a6-a5dcea3bc253@burgess.co.nz>
References: <095ccf8d-7f58-d928-427c-b17ace23cae6@burgess.co.nz>
	<201359951.20210211163311@am-soft.de>
	<f444a84e-2d29-55f9-51a6-a5dcea3bc253@burgess.co.nz>

Guy Burgess schrieb am 15.02.2021 um 11:52:
> The mystery now is that the only process logged as touching the
> affected WAL files is postgres.exe (of which there are many separate
> processes). Could it be that one of the postgres.exe instances is
> holding the affected WAL files in use after another postgres.exe
> instance has flagged the file as deleted? (or to put it the other
> way, a postgres.exe instance is flagging the file as deleted while
> another instance still has an open handle to the file)? If it is some
> other process such as the indexer (disabled) or AV (excluded from
> pgdata) is obtaining a handle on the WAL files, it isn't being logged
> by ProcMon.

My first suspect is always the anti-virus on Windows when things like
that happen with Postgres.

Maybe the AV configuration was changed and pgdata is no longer excluded.

Thomas






view thread (10+ messages)  latest in thread

Message-ID: <ff8ec583-b202-bebb-4c70-8b4b338f8304@gmx.net>
Permalink:  ../ff8ec583-b202-bebb-4c70-8b4b338f8304@gmx.net/
Also on:    postgresql.org/message-id/ff8ec583-b202-bebb-4c70-8b4b338f8304@gmx.net

 · 

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: shammat@gmx.net
  Subject: Re: PostgreSQL occasionally unable to rename WAL files (NTFS)
  In-Reply-To: <ff8ec583-b202-bebb-4c70-8b4b338f8304@gmx.net>
  References: <095ccf8d-7f58-d928-427c-b17ace23cae6@burgess.co.nz> <201359951.20210211163311@am-soft.de> <f444a84e-2d29-55f9-51a6-a5dcea3bc253@burgess.co.nz> <ff8ec583-b202-bebb-4c70-8b4b338f8304@gmx.net>

* 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