Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j5Yfu-0005oz-IR for pgsql-general@arkaria.postgresql.org; Sat, 22 Feb 2020 17:34:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j5Yft-0006ay-Cs for pgsql-general@arkaria.postgresql.org; Sat, 22 Feb 2020 17:34:45 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j5Yfs-0006aq-Vy for pgsql-general@lists.postgresql.org; Sat, 22 Feb 2020 17:34:45 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j5Yfq-00050J-Qt for pgsql-general@lists.postgresql.org; Sat, 22 Feb 2020 17:34:43 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id 01MHYe17028091; Sat, 22 Feb 2020 12:34:40 -0500 From: Tom Lane To: Mark Fletcher cc: pgsql-general@lists.postgresql.org Subject: Re: Shared buffer hash table corrupted In-reply-to: References: <3851.1582325638@sss.pgh.pa.us> Comments: In-reply-to Mark Fletcher message dated "Sat, 22 Feb 2020 09:28:58 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <28089.1582392880.1@sss.pgh.pa.us> Date: Sat, 22 Feb 2020 12:34:40 -0500 Message-ID: <28090.1582392880@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Mark Fletcher writes: > Thanks for the response. I did restart the postmaster yesterday. Earlier > this morning, a query that normally completes fine started to error out > with 'invalid memory alloc request size 18446744073709551613'. Needless to > say our database isn't quite that size. This query was against a table in a > different database than the one that had the corruption warning yesterday. > Restarting the postmaster again fixed the problem. For good measure I > restarted the machine as well. Um. At that point I'd agree with your concern about developing hardware problems. Both of these symptoms could be easily explained by dropped bits in PG's shared memory area. Do you happen to know if the server has ECC RAM? regards, tom lane