Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kapm8-00011c-CS for pgsql-general@arkaria.postgresql.org; Fri, 06 Nov 2020 00:38:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kapm6-00022Y-MI for pgsql-general@arkaria.postgresql.org; Fri, 06 Nov 2020 00:38:42 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kapm5-00022R-7A for pgsql-general@lists.postgresql.org; Fri, 06 Nov 2020 00:38:42 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kapm2-0007ov-Gh for pgsql-general@lists.postgresql.org; Fri, 06 Nov 2020 00:38:40 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 67D155C0227; Thu, 5 Nov 2020 19:38:37 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 05 Nov 2020 19:38:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=/mki6vHZD4+FzXF/I9RoUVcWXBC f7IlJf0aZXxYjWpM=; b=N2ulgBL2nXFHVidJ4MwE5vd4/VgtW6Zx6QUHwcmJh7/ HidzsontLwNpu1fT84MhQDqFbmvZojZIYxUUOmAcA6WSp6m3T0D3nOpF2MFEnZfe T7GXHblAJ82KMsQCCeSidSwUFhN9RDN0+ks17L7d+JC155x/RDkcj+pVx/se6ZnB VQ/xrJvtrU+ruPtezu2AGrDFRcy9wo5tf0szr4mjQDq7UmeOpdbqnW2juYsHCnWn A1onF4z8arlRPUsQ0bHuOD6tyhKL7hcK4nTOqiPJd8EfB8dhMnzAZJKE1q9FxKpj x82NDcx18CHCICMosE2kOrSNjOaS6Xh93WNZVIojKlQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=/mki6v HZD4+FzXF/I9RoUVcWXBCf7IlJf0aZXxYjWpM=; b=R0zx/HpWolx+qFUEls8Wl9 NnU61gWnaJrqzi81IGMcFlcOG3PKF3TNfAoQ4PFTjeVCvJDWsSAxj8gFSnrkqqn4 lVQMjIitAgTCi/01yWYoe7Xb4mX+i/IXnwfwI5fdc5tEaWxaNuyuuPYIlcjlYUaq +51tCSiO+So4Z5bPGXMxelhkkA40tHLnmvPqBMGzhA5W2OjxdMU7o4gJYK/VdD3J afisw5khLJtTceN6j2kk57w/Yl9+jHlKd9L0Qs7DRock+hT/wt4+RYmmlCLQ1fsL IztjPEqePVLRrrIdrhuRQk/mDL68Vx9tZ4jZsC1TSWltCAoxVKXegvXG2nxMWA2Q == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddtkedgvdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpedvgeduuefhtdeuleettdevjeeh heeiveeuieegleetgeeljeelieeuieehgeevhfenucfkphepudduuddruddtvddrudektd drudekheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id 874C732802F8; Thu, 5 Nov 2020 19:38:35 -0500 (EST) Date: Fri, 6 Nov 2020 09:38:32 +0900 From: Michael Paquier To: Magnus Hagander Cc: Andreas Kretschmer , Shani Israeli , pgsql-general Subject: Re: PANIC: could not write to log file {} at offset {}, length {}: Invalid argument Message-ID: <20201106003832.GD21123@paquier.xyz> References: <58D3BF80-A360-4E40-883A-B3DE64DE1189@a-kretschmer.de> <20201105021012.GD1632@paquier.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="8nsIa27JVQLqB7/C" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --8nsIa27JVQLqB7/C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --8nsIa27JVQLqB7/C Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl+kmwgACgkQnvQgOdby QH1RGBAAiWSOX1Q9pSuhk2A94Mydkq2lpBFQM4SBDOZt8aMjh0vSLHn8YoDjVZg/ QtMg/Yf5RVtfCjUYSaV0AOn/KSOThlnvDQaH/WAP+CbJNDaOPdSOgp/bPYP+IUfH YMp6TjRaaXivGnS3i8WZqKP2xxM9eeBzW//gIXGCQh+cp8huAdg13KrjvMCQUGSy LKUffbKS8W8NdAw6S4x7ZodrYsU4v8KbawdeY4GmB1iICMZbgqpjPLoeuVWIKT8f RR/ChWWDKXSeApvq8L82kIl4Dg6SctIK3DDxyZdV31RR2xSR9R+LINuHarwyENh3 PLuGXsz6wYRdiJGPtILgKXC5kdlsKF5mrd4WdpjxIAnVc9FEb7PhB0PpNyEiFd51 0cF4Ni4WGZv3WoLlp8l3c5mJKJIGctUgvWbZOTbmn8aklvf6IUE8llt7S5AjL7h2 ACHHF95hQju3X/m5635MHBHcUFZtvVO6wE/tm1DODeRCkpdhStBi4JZlutxanKju d+zM+CIcNvjQ9yV1+0dqZag6mu/Gu3GqBD9iIOA5RQEpLAAqHDBe78mgzhuTS4G6 0ya0bFJFYHkC0zu+hnrgEdniaq4Aaq12vTbBwI53TE4MA++kTbDNsgRFlORg+eyQ Sg/Z8EPjO0zPgj6XkmUU377FSspzaqRmoLoQQNJfRwxJAFloLz0= =R9Rk -----END PGP SIGNATURE----- --8nsIa27JVQLqB7/C--