pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Magnus Hagander <magnus@hagander.net>
Cc: Andreas Kretschmer <andreas@a-kretschmer.de>
Cc: Shani Israeli <sisraeli@illusivenetworks.com>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: PANIC: could not write to log file {} at offset {}, length {}: Invalid argument
Date: Fri, 6 Nov 2020 09:38:32 +0900
Message-ID: <20201106003832.GD21123@paquier.xyz> (raw)
In-Reply-To: <CABUevEzXHYcyVe2Ew25dVDwLzy=fnKKz6i+_Z9Cz=MLaMUPH8g@mail.gmail.com>
References: <CAHwa7Ea1R7kYuyEOKU6LW-tYMXJAM30zy9K+4iYW5TykAgKDgQ@mail.gmail.com>
	<58D3BF80-A360-4E40-883A-B3DE64DE1189@a-kretschmer.de>
	<20201105021012.GD1632@paquier.xyz>
	<CABUevEzXHYcyVe2Ew25dVDwLzy=fnKKz6i+_Z9Cz=MLaMUPH8g@mail.gmail.com>

On Thu, Nov 05, 2020 at 10:21:40AM +0100, Magnus Hagander wrote:
> The problem with AVs generally doesn't come from them opening files in
> non-share mode (I've, surprisingly enough, seen backup software that
> causes that problem for example). It might happen on scheduled scans
> for example, but the bigger problem with AV software has always been
> their filter driver software which intercepts both the open/close and
> the read/write calls an application makes and "does it's magic" on
> them before handing the actual call up to the operating system. It's
> completely independent of how the file is opened.

This one is a bit new to me.  I certainly saw my share of stat() or
open() calls failing on ENOPERM because of file handles taken
exclusively by external scanners around here or even with
customer-related issues, and I did not expect that such dark magic
could be involved in a write.  It would indeed not be surprising to
see a PANIC depending on what gets done.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (10+ messages)  latest in thread

Message-ID: <20201106003832.GD21123@paquier.xyz>
Permalink:  ../20201106003832.GD21123@paquier.xyz/
Also on:    postgresql.org/message-id/20201106003832.GD21123@paquier.xyz

 · 

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: michael@paquier.xyz, magnus@hagander.net, andreas@a-kretschmer.de, sisraeli@illusivenetworks.com
  Subject: Re: PANIC: could not write to log file {} at offset {}, length {}: Invalid argument
  In-Reply-To: <20201106003832.GD21123@paquier.xyz>
  References: <CAHwa7Ea1R7kYuyEOKU6LW-tYMXJAM30zy9K+4iYW5TykAgKDgQ@mail.gmail.com> <58D3BF80-A360-4E40-883A-B3DE64DE1189@a-kretschmer.de> <20201105021012.GD1632@paquier.xyz> <CABUevEzXHYcyVe2Ew25dVDwLzy=fnKKz6i+_Z9Cz=MLaMUPH8g@mail.gmail.com> <20201106003832.GD21123@paquier.xyz>

* 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