pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Thomas, Richard <Richard.Thomas@atkinsglobal.com>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: PostgreSQL 10.20 crashes / Antivirus
Date: Tue, 19 Apr 2022 10:11:27 -0700
Message-ID: <7f2eca3e-8c4f-4249-b769-37d74a591b5d@aklaver.com> (raw)
In-Reply-To: <LO2P123MB5094561359D24D8273F8CFDEF1F29@LO2P123MB5094.GBRP123.PROD.OUTLOOK.COM>
References: <LO2P123MB509428EC0EFAA847AC95F060F1E79@LO2P123MB5094.GBRP123.PROD.OUTLOOK.COM>
	<a684e389-5e47-4118-c6f6-d7af03738b34@aklaver.com>
	<LO2P123MB5094385590930582ABEDBF14F1E79@LO2P123MB5094.GBRP123.PROD.OUTLOOK.COM>
	<LO2P123MB5094561359D24D8273F8CFDEF1F29@LO2P123MB5094.GBRP123.PROD.OUTLOOK.COM>

On 4/19/22 04:59, Thomas, Richard wrote:
> A request for further suggestions for how to fix/diagnose this PG crash (having just got back from holiday I discover that PG is still crashing even though I have changed the pgdump target output location to a folder excluded from the McAfee Antivirus scanning - but thanks for the suggestion Adrian). The last few crashes have occurred only during the backup process, when database pg_dump completes (successfully - including the disconnection message in the log) but before the next database pgdump can begin (that pg_dump command gets the error that it cannot connect to the database as the server is no longer responding). This will happen after dumping several databases - sometimes it manages the complete multiple database dump fine. One new thing I've noticed is that when it fails the file access 0xC0000022 error occurs a second time when PG is trying to restart itself after shutting down all the other processes, suggesting whatever caused the crash is still around (a later manual restart works fine):

 From you original post:

"... although the new pg_dump log file was created (is empty) it does 
not get as far as creating the .backup file ..."

What are the actual commands you are using to do the above?



> 
> Richard


-- 
Adrian Klaver
adrian.klaver@aklaver.com


view thread (14+ messages)  latest in thread

Message-ID: <7f2eca3e-8c4f-4249-b769-37d74a591b5d@aklaver.com>
Permalink:  ../7f2eca3e-8c4f-4249-b769-37d74a591b5d@aklaver.com/
Also on:    postgresql.org/message-id/7f2eca3e-8c4f-4249-b769-37d74a591b5d@aklaver.com

 · 

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: adrian.klaver@aklaver.com, Richard.Thomas@atkinsglobal.com
  Subject: Re: PostgreSQL 10.20 crashes / Antivirus
  In-Reply-To: <7f2eca3e-8c4f-4249-b769-37d74a591b5d@aklaver.com>
  References: <LO2P123MB509428EC0EFAA847AC95F060F1E79@LO2P123MB5094.GBRP123.PROD.OUTLOOK.COM> <a684e389-5e47-4118-c6f6-d7af03738b34@aklaver.com> <LO2P123MB5094385590930582ABEDBF14F1E79@LO2P123MB5094.GBRP123.PROD.OUTLOOK.COM> <LO2P123MB5094561359D24D8273F8CFDEF1F29@LO2P123MB5094.GBRP123.PROD.OUTLOOK.COM> <7f2eca3e-8c4f-4249-b769-37d74a591b5d@aklaver.com>

* 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