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 1gvTAD-0007Y3-Fc for pgsql-hackers@arkaria.postgresql.org; Sun, 17 Feb 2019 20:35:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gvTAA-00081y-DL for pgsql-hackers@arkaria.postgresql.org; Sun, 17 Feb 2019 20:35:46 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1gvTAA-00081I-5d for pgsql-hackers@lists.postgresql.org; Sun, 17 Feb 2019 20:35:46 +0000 Received: from mail-it1-x132.google.com ([2607:f8b0:4864:20::132]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gvTA5-0003lt-Ii for pgsql-hackers@postgresql.org; Sun, 17 Feb 2019 20:35:43 +0000 Received: by mail-it1-x132.google.com with SMTP id x131so35468451itc.3 for ; Sun, 17 Feb 2019 12:35:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Q7gANlpuw5yvDfbteIzmiRlLkgKFX6+2bIA7KNjqeVg=; b=mGaIR28G8+Ef51NDooUudDSZtPoFgUkzZJF5Z17qzGkV7WwulrGBxRNxFcnWMb51R5 GxSwiK8fLkdNVzoK15o+Kq/MJguN2FVCXxxykjsmAW2KtW8mp0A0tb7cz/N6J0YCvNYn eMKIJUOu+il9tF8GPEMaOLPUABXeOe8KTBCl1Va88LsRksbyZMMFh+cWG9BvIU2GZgID dQvgM5a9gQvKZwCA4vPqp0lkp91MwqHHOdLHVN5vEmHSZyZ5w4WiCP/6bHAdASllCe0d Q7Tg10gwKWv8jGeNYJnWE+dRJqKrj/UZxfQjFrhwU4TYgNBi9tilsPWDSQ2Y+HHG5fkp crWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Q7gANlpuw5yvDfbteIzmiRlLkgKFX6+2bIA7KNjqeVg=; b=t0MlvKkpzToM27psprGNHTcPCPdn179AFiP78tv5AmMH/0tzH33RUOVLX/RPHat68i PfiNlukozRAlAAFDSLpCqtShO8pjHHkRoSTYX7lfQJLSlVKT/tJEzyEus1TDX4XxehIk QrjIlh9GOqOTiNKqfP60yTEJM7FlMhFUQj5qPt1/W3MyyODCAVkCA1fckdZknzXttx42 YGFWeouO9lTbG/8bNqyImavIepVrAWaU8bCv8uzpP4p9A+4xDI75Smuv2cdcqoIE1iEt ITWWs+4mTf4GUBZiPBjl/sXfc5vT9H6tT2i6ioknzkqvxBb195DRFi5++AjD7NqNwZK8 SxZA== X-Gm-Message-State: AHQUAuaYWE9dxeNClu2AbH+opPPB/l+LMbElDz/i1YqpyUeBRQp0V3VI 98LvJUeth1RxXfdWYm6rsGE9Mj2wKBo= X-Google-Smtp-Source: AHgI3IYIKNQ4IHjuRnrK56TUe7XPBOPAKfnfCwhBmE7dFf++o35MEZ9oImtH4k1BUMIBpJEEb/3rvw== X-Received: by 2002:a02:b4b8:: with SMTP id k53mr10544592jaj.56.1550435739368; Sun, 17 Feb 2019 12:35:39 -0800 (PST) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id b192sm5640865itb.12.2019.02.17.12.35.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Feb 2019 12:35:38 -0800 (PST) Received: by pryzbyj (Postfix, from userid 1000) id 6184B800B7B; Sun, 17 Feb 2019 14:35:37 -0600 (CST) Date: Sun, 17 Feb 2019 14:35:37 -0600 From: Justin Pryzby To: Thomas Munro Cc: Pg Hackers Subject: Re: REL_11_STABLE: dsm.c - cannot unpin a segment that is not pinned Message-ID: <20190217203537.GC28750@telsasoft.com> References: <20190216023854.GF30291@telsasoft.com> <20190216043107.GG30291@telsasoft.com> <20190217194145.GA28750@telsasoft.com> <20190217200700.GB28750@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Mon, Feb 18, 2019 at 09:26:53AM +1300, Thomas Munro wrote: > On Mon, Feb 18, 2019 at 9:07 AM Justin Pryzby wrote: > > Actually... > > > > On killing the postmaster having completed this stress test, one of the > > backends was left running and didn't die on its own. It did die gracefully > > when I killed the backend or the client. > > > > I was able to repeat the result, on first try, but took numerous attempts to > > repeat the 2nd and 3rd time to save pg_stat_activity. > > > > Is there some issue regarding dsm_postmaster_shutdown ? > > Huh. What exactly do you mean by "killing the postmaster"? If you > mean SIGKILL or something, one problem with 11 is that I mean unqualified /bin/kill which is kill -TERM (-15 in linux). I gather (pun acknowledged but not intended) you mean "one problem with PG v11" and not "one problem with kill -11" (which is what I first thought, although I was somehow confusing kill -9, and since I don't know why anyone would ever want to manually send SIGSEGV). I think you're suggesting that's a known issue with v11, so nothing to do. Thanks, Justin