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 1kaLsO-000186-GI for pgsql-general@arkaria.postgresql.org; Wed, 04 Nov 2020 16:43:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kaLsN-0001N6-Fn for pgsql-general@arkaria.postgresql.org; Wed, 04 Nov 2020 16:43:11 +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 1kaLsL-0001Mn-Rs for pgsql-general@lists.postgresql.org; Wed, 04 Nov 2020 16:43:11 +0000 Received: from [66.111.4.29] (helo=out5-smtp.messagingengine.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kaLsI-00012t-T3 for pgsql-general@lists.postgresql.org; Wed, 04 Nov 2020 16:43:08 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 0EFBA5C00B6; Wed, 4 Nov 2020 11:42:56 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 04 Nov 2020 11:42:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=Q 2Zr8XtXxl7KnoQeUT/ARrpDjt90nqCUC+FXklSnwiI=; b=Azqn6AepczXQkZXnZ pHqsjevEzlAmlNT2lysW8yANIQYBjmyt0HrAReMb42ExIiH6weW6BLcJNHBPqgno VOMIxYwGtu1t2W6owp+Jil9W0w6LYu/sygcGmI/Qr9l4tM0X1oZPyppNr4ZedD33 FXA8/BdgWmELg//zBZuFuwGNuiQuwV0fp47QVxIsrfE2vkTaySm5qrRJRrohSSZg f4s8hvhF72RhGblaEFIwe/RvjwgqMboK97skxIarRaymwSeQLm+FluZd/2lDLOU7 8CRZiQ4vRGPWSF50jmP90irjQIW/ewB7Z3SJahEz1Y42YN+L06gNu+9NvAXgjEIh TGN0Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding: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=Q2Zr8XtXxl7KnoQeUT/ARrpDjt90nqCUC+FXklSnw iI=; b=YiY0p/JWhTMOS9AeULS/zL2MfZUnL31kNxBI8jbVJX3CAG8vPDooQu8ff vxa6lPyUNG3y5BCLrCxaouF2qhKpCRKKyY6acyArG8U0twJ56j92L8wIuMAbxexW 5W6cFdOb+lRIDrLSuLw1kbUSkhavIKBAEGjV1Kp2lz9ucD1m9+g1Z+sFdtqUQ57g R/fjI0TUR9VP5vAJaukKQsUpU2tNrCuu/kVkM1LbUkOh+RxcE5qQwGzFr89BLezb Xuu7+4k6NJ+TL3ALjwzAc3BW0nmvpA51CHfmdiwIPLRj/eIJKMZA6nPS7vb0rOlm xb+y4iF7btucUyalIs/G+MqkD95zA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddthedgleefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeegvedutdetledutefgiedugfdujeeuieejkefhvdet geekffeggeekgedvjedtgfenucffohhmrghinhepihhllhhushhivhgvnhgvthifohhrkh hsrdgtohhmnecukfhppeejhedrudejvddrudelrddufeelnecuvehluhhsthgvrhfuihii vgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrg hklhgrvhgvrhdrtghomh X-ME-Proxy: Received: from [192.168.1.4] (75-172-19-139.tukw.qwest.net [75.172.19.139]) by mail.messagingengine.com (Postfix) with ESMTPA id 6E7903064674; Wed, 4 Nov 2020 11:42:55 -0500 (EST) Subject: Re: PANIC: could not write to log file {} at offset {}, length {}: Invalid argument To: Shani Israeli , pgsql-general@lists.postgresql.org References: From: Adrian Klaver Message-ID: Date: Wed, 4 Nov 2020 08:42:54 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 66.111.4.29 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 11/4/20 2:24 AM, Shani Israeli wrote: > Hi all, > > We are running PostgreSQL v9.5.19 over Windows Server 2012 R2, 16GB RAM. > Lately, postgres started to crash (happened already 3 times ~once a > month) and before its crashes I found this message in Event Log: > > PANIC:  could not write to log file {} at offset {}, length {}: > Invalid argument > > (so I assumed it is related). > > attached is our configuration. > > Any ideas about what is the problem? or anything else I need to check? Any time I see seemingly random crashes involving file corruption on Windows I think anti-virus software. Has someone turned an AV program loose on this machine? > > Thanks is advance, > Shani Israeli - Software Developer > +972 54 6689920 > > sisraeli@illusivenetworks.com > > www.illusivenetworks.com > -- Adrian Klaver adrian.klaver@aklaver.com