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 1f8Xai-0007Jq-RP for pgsql-hackers@arkaria.postgresql.org; Tue, 17 Apr 2018 20:52:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f8Xah-000667-Rg for pgsql-hackers@arkaria.postgresql.org; Tue, 17 Apr 2018 20:52:39 +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 1f8Xag-00065t-3J for pgsql-hackers@lists.postgresql.org; Tue, 17 Apr 2018 20:52:39 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f8Xac-00079H-Mh for pgsql-hackers@postgresql.org; Tue, 17 Apr 2018 20:52:37 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 246E82204A; Tue, 17 Apr 2018 16:52:32 -0400 (EDT) Received: from web6 ([10.202.2.216]) by compute4.internal (MEProxy); Tue, 17 Apr 2018 16:52:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=titanous.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=YvqZ5CTKV02/Jrxt4mSkmzwFojIdJ 0/tdnzjf/qCzIM=; b=Rzqu1h3KkAWUMl3Zu2Gfx8rlbczI3Pu1aWn1p+uHQegzy NKEyohsEQIALXXU0cF0EYL3HwCOCqk/ChlRt7HczPyW5x49Vm5gfV29r3Rw3hh8d k6FIabtHI5Nc8x26WnBkQwbIdhVedHdF52xVKJRbSYV1P0Xp4u3CMmhMA+NrQVb3 z52gCLWJ9cs2wIINnwGQtflA0d8zMcWR+aT3DJNzKFB0ta1IN4OvDM/3cAbWNhzh INFmwN4gqP8ygbyAX+lqqM2QyXklsl4X687tW+q/wxrYxi6NvWs38mDPJLfuSokh yd5aNLJm3av2iNSrvaY1fQ1dstK+eF2nmrFZCpbjQ== 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-sender:x-me-sender:x-sasl-enc; s=fm2; bh=YvqZ5C TKV02/Jrxt4mSkmzwFojIdJ0/tdnzjf/qCzIM=; b=n0o5pa2Mm5WU/SFljPP6tH gRNgubHEbgA7FacvHPFrjqLxE5ujmPq3dDso2tnbivQGVegwVdc1mmgCbn7zWsDQ Y2t+fQWU77dR2LNoEKKWoEsxi8Lk+hrm2zZNtizVi6EHLKeN3nEu2yvzW4hZ6z+1 CNVEYXt9bA9CGMeuOU5yRKPZ3A/v3/7weNrVMTwD05spppiE1BmxxKS4Gx3F3FT+ j8+dofPB7G+n/wZ+7TTInwl1GQa5gAVLp7C5jFKh6aq3DVhNAfcJFZE54cR/kN14 IQeOknnyEH7dUUEQXSs2fQ2fOAwd3WvH71bNxTPohxoRVbRLN4oJYon7umAdHilw == X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id CF1604195; Tue, 17 Apr 2018 16:52:31 -0400 (EDT) Message-Id: <1523998351.1231357.1341528496.28EBAF7F@webmail.messagingengine.com> From: Jonathan Rudenberg To: Robert Haas , Thomas Munro Cc: Andreas Seltenreich , Pg Hackers MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-f3006b89 In-Reply-To: Subject: Re: [sqlsmith] Unpinning error in parallel worker References: <87h92g83t3.fsf@credativ.de> Date: Tue, 17 Apr 2018 16:52:31 -0400 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Wed, Mar 29, 2017, at 10:50, Robert Haas wrote: > On Wed, Mar 29, 2017 at 1:31 AM, Thomas Munro > wrote: > > I considered whether the error message could be improved but it > > matches the message for an existing similar case (where you try to > > attach to an unknown handle). > > Ugh, OK. I committed this, but I think this whole file needs a visit > from the message style police. I ran into an issue that matches the symptoms of this bug on a production cluster running 10.3 (Ubuntu 10.3-1.pgdg16.04+1) twice in the past week. Hundreds of queries stuck with a wait_event of DynamicSharedMemoryControlLock and pg_terminate_backend did not terminate the queries. In the log: > FATAL: cannot unpin a segment that is not pinned I don't have a backtrace yet, but I will provide them if/when the issue happens again. Jonathan