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 1hOjOg-0003b4-La for pgsql-hackers@arkaria.postgresql.org; Thu, 09 May 2019 13:47:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hOjOe-0004uv-8a for pgsql-hackers@arkaria.postgresql.org; Thu, 09 May 2019 13:47:40 +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 1hOjOd-0004uk-Ru for pgsql-hackers@lists.postgresql.org; Thu, 09 May 2019 13:47:40 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hOjOa-0002bh-MR for pgsql-hackers@lists.postgresql.org; Thu, 09 May 2019 13:47:37 +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 x49DlYhp002664; Thu, 9 May 2019 09:47:34 -0400 From: Tom Lane To: Noah Misch cc: pgsql-hackers@lists.postgresql.org Subject: Re: Unexpected "shared memory block is still in use" In-reply-to: <20190509055414.GB1066859@rfd.leadboat.com> References: <22224.1557340366@sss.pgh.pa.us> <20190509055414.GB1066859@rfd.leadboat.com> Comments: In-reply-to Noah Misch message dated "Wed, 08 May 2019 22:54:14 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2662.1557409654.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 09 May 2019 09:47:34 -0400 Message-ID: <2663.1557409654@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Noah Misch writes: > On Wed, May 08, 2019 at 02:32:46PM -0400, Tom Lane wrote: >> Just now, while running a parallel check-world on HEAD according to the >> same script I've been using for quite some time, one of the TAP tests >> died during initdb: >> performing post-bootstrap initialization ... 2019-05-08 13:59:19.963 ED= T [18351] FATAL: pre-existing shared memory block (key 5440004, ID 173447= 5802) is still in use > The odds are very high that you would not have gotten that error before = that > commit. But if the cause matches your guess, it's not something wrong w= ith > the commit ... Fair point. > What OS, OS version, and filesystem? Up-to-date RHEL6 (kernel 2.6.32-754.12.1.el6.x86_64), ext4 over LVM on spinning rust with an LSI MegaRAID controller in front of it. Since complaining, I've done half a dozen more parallel check-worlds without issue, so the error was and still is rare. This matches the fact that we've not seen it in the buildfarm :-(. regards, tom lane