Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gEewP-0004Qx-4I for pgsql-bugs@arkaria.postgresql.org; Mon, 22 Oct 2018 18:28:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gEewM-0008UF-RZ for pgsql-bugs@arkaria.postgresql.org; Mon, 22 Oct 2018 18:28:34 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gEewK-0008TW-QC for pgsql-bugs@lists.postgresql.org; Mon, 22 Oct 2018 18:28:34 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gEewD-0007b4-5Q for pgsql-bugs@lists.postgresql.org; Mon, 22 Oct 2018 18:28:31 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 8839ECCF; Mon, 22 Oct 2018 14:28:23 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Mon, 22 Oct 2018 14:28:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to; s=fm2; bh=y XktzfsYjoBjg8OjBq9gXnG3DpjZ2ZlqsbiWd6B05pU=; b=ws7dKI6Wb269arRCZ YkIRVxWdoRg+GAAF3kM6TbUOF7KGZfFXtbSH8qIkb9prbwSl5d6aswvd+rMDb62e +n4MQNDLtdZq10fNRgqMW2LQ5bMjRVhSHTKo2NZhwjqx2i9Ygg8qx+IIkL5SMRvM jHFROimQ17CPWOBwNFSGB+OHnd/JW4WgSLW6t8WCMze40Mwp9UnUL7MbICsHRxN9 /k8kqDfRr7SxcDgNAqss2oTDe64Da+qgSs9zhtbYsIy/dRiE83nS6+m//l+2vo5c P0TkV6ByX5QJore7Qcgw0elUd3SG4hNgr93aVzTNo83hbcfMX1xnYoAXvpiDZemH 0zVRA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=yXktzfsYjoBjg8OjBq9gXnG3DpjZ2ZlqsbiWd6B05 pU=; b=g77fIGyOuT6jEHJbRzOIKolEdaVk+azWDE4IQeKoWjssNYAanPKBzlhEU EqbSBDE6uHVS6sASbBSM6dqbYoz9kh3NXU2l495basdWNenXWqWy29k4Uo6fV2FV ksAjBDVUP8rdQYJuxaIQTtHZ/Bc8JspZsvv9smctaV0bMpArSZCr5nVy9iW39Oz4 MM1MTPgzlE5n+AsPDB7XUfBl3Fl02w2BtwqPnMgq8eAIUpNwwteLiLPGzHvgWD7b ya0fATOwZ6ktc8SK0iRrieU1ehZELib+Deqo2XX7xQRPhIVgL7PsJdO1MOxfaqSg ZsGvCxjLlusyGakg6S/+j1KG1VYLA== X-ME-Sender: X-ME-Proxy: Received: from intern.anarazel.de (unknown [172.58.91.4]) by mail.messagingengine.com (Postfix) with ESMTPA id 2A329102EE; Mon, 22 Oct 2018 14:28:22 -0400 (EDT) Date: Mon, 22 Oct 2018 11:28:19 -0700 From: Andres Freund To: Juan =?utf-8?B?Sm9zw6kgU2FudGFtYXLDrWE=?= Flecha Cc: alvherre@2ndquadrant.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15438: Standby corruption after "Too many open files in system" error Message-ID: <20181022182819.uohpm24exao72zp3@alap3.anarazel.de> References: <15438-bbe4679a595d795f@postgresql.org> <20181022174504.bwa7435hci7via4y@alvherre.pgsql> <20181022175732.awdhznheldlwm5ho@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 2018-10-22 20:18:32 +0200, Juan José Santamaría Flecha wrote: > When you say corruption, do you mean that the data was corrupted > > afterwards? Or just that the standby spewed errors until you restarted > > with adjusted limits? > > > > We didn't do a proper low level check to verify that the database was > corrupted, but the symtopms took us to belive so: after a restart the > system crashed almost immediately with and 'invalid memory alloc request > size', no matter the user limits. > > There is a backup still available if any test can be of interest. Yea, I think looking at that would be worthwhile. That an FD leak or such could cause replay to get stuck is not that suprrising, but it shouldn't cause corruption. That hints that something further is borked. Greetings, Andres Freund