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 1lhEE6-0003Po-NR for pgsql-hackers@arkaria.postgresql.org; Thu, 13 May 2021 16:30:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lhEE3-0000K8-UL for pgsql-hackers@arkaria.postgresql.org; Thu, 13 May 2021 16:30:15 +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 1lhEE3-0000Jz-Mi for pgsql-hackers@lists.postgresql.org; Thu, 13 May 2021 16:30:15 +0000 Received: from [64.147.123.21] (helo=wout5-smtp.messagingengine.com) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lhEDz-0001Vk-UC for pgsql-hackers@lists.postgresql.org; Thu, 13 May 2021 16:30:14 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 4A18E29DB; Thu, 13 May 2021 12:29:59 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 13 May 2021 12:29:59 -0400 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:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=FI8ayK8sl72az4EuV4SglHSpjp+9gSr5gsZPeM704kc=; b=El5X2Nl9 CDxfFVYpupyd++woZ7FgdnXlbl8W6OSpeSMYTlYjLQJ45HiLK8+bapxlyt4b1vLW Y4TGkDJNJMhMpkiqQw3EcmdSTqzziQ/TKs/xxiPULKVzGI7YDHHo7585n4gEYgUg 5FFF7Esaa9Ig20bpnFa9Sl38cZMXMxQQx2HRm+TL+Zv3lD1OEB+fmEE8wv4DPU/I eNIsuk5XlW9sQtd9D3ZIm9ZC1uirJRAQCoHnxY+RlYngf3cdVh5qtLinlJ1873L5 TwvSWGbevKUTKUAwCGV6QmsGmoWbBkYYqtdAbTevcNPiZiHZ9385QOeqSKu7y2ab fPHoe+LjxB57uw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdehgedguddtudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkgggtugfgjggfsehtkeertddtredunecuhfhrohhmpeetlhhv rghrohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorh hgqeenucggtffrrghtthgvrhhnpeeufffhjeeiueeuffegvddukeegledtveeivdeiueef ieeivefgteehueefteehvdenucfkphepudeltddrleehrdduledrleehnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhhvghrrhgvsegr lhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: from perhan.alvh.no-ip.org (unknown [190.95.19.95]) by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 13 May 2021 12:29:58 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id A00C02A0ADC; Thu, 13 May 2021 12:29:55 -0400 (-04) Date: Thu, 13 May 2021 12:29:55 -0400 From: Alvaro Herrera To: Tom Lane Cc: Pavel Borisov , Dilip Kumar , PostgreSQL Hackers Subject: Re: OOM in spgist insert Message-ID: <20210513162955.GA12466@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210513155351.GA7848@alvherre.pgsql> User-Agent: Mutt/1.10.1 (2018-07-13) X-Host-Lookup-Failed: Reverse DNS lookup failed for 64.147.123.21 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-May-13, Alvaro Herrera wrote: > The btree code modified was found to be an actual problem in production > when a btree is corrupted in such a way that vacuum would get an > infinite loop. I don't remember the exact details but I think we saw > vacuum running for a couple of weeks, and had to restart the server in > order to terminate it (since it wouldn't respond to signals). (Looking again, the nbtpage.c hunk might have been made obsolete by c34787f91058 and other commits). -- Álvaro Herrera Valdivia, Chile