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 1fDMfk-0000Xa-8C for pgsql-hackers@arkaria.postgresql.org; Tue, 01 May 2018 04:13:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fDMfg-0002j3-Ra for pgsql-hackers@arkaria.postgresql.org; Tue, 01 May 2018 04:13:44 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fDMfg-0002it-KY for pgsql-hackers@lists.postgresql.org; Tue, 01 May 2018 04:13:44 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fDMfc-0007Y1-Nh for pgsql-hackers@lists.postgresql.org; Tue, 01 May 2018 04:13: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 w414DUnT018057; Tue, 1 May 2018 00:13:30 -0400 From: Tom Lane To: Andres Freund cc: Noah Misch , Heath Lord , Thomas Munro , Stephen Frost , PostgreSQL Hackers Subject: Re: "could not reattach to shared memory" on buildfarm member dory In-reply-to: <20180501002419.onmikldoe2ssjauq@alap3.anarazel.de> References: <25495.1524517820@sss.pgh.pa.us> <20180423231855.GK27724@tamriel.snowman.net> <20180424070646.GA2693533@rfd.leadboat.com> <17897.1525108069@sss.pgh.pa.us> <29823.1525132900@sss.pgh.pa.us> <20180501002419.onmikldoe2ssjauq@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Mon, 30 Apr 2018 17:24:19 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <18055.1525148010.1@sss.pgh.pa.us> Date: Tue, 01 May 2018 00:13:30 -0400 Message-ID: <18056.1525148010@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andres Freund writes: > Heath, could you use process explorer or such to check which processes > are running inside a working backend process? It seems to be possible to enumerate the threads that are present inside a Windows process, although it's not clear to me how much identifying info is available. Perhaps it'd be worth putting in some "dump threads" debugging code like the "dump modules" code we had in there for a bit? regards, tom lane