pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Justin Pryzby <pryzby@telsasoft.com>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Subject: Re: REL_11_STABLE: dsm.c - cannot unpin a segment that is not pinned
Date: Sun, 17 Feb 2019 14:35:37 -0600
Message-ID: <20190217203537.GC28750@telsasoft.com> (raw)
In-Reply-To: <CAEepm=0kMunPC0hhuT0VC-5dfMT3K-xsToJHkTznA6yrSARsPg@mail.gmail.com>
References: <20190216023854.GF30291@telsasoft.com>
	<CAEepm=0t8o=Wh4wi0H58q3G1dqoj6ZYU-zu9DMp29RkVMGSvNw@mail.gmail.com>
	<20190216043107.GG30291@telsasoft.com>
	<CAEepm=1gBdB_qo_eohvYtGb9=N4Gvxas3UoA6XdX_Kg1isEcNA@mail.gmail.com>
	<20190217194145.GA28750@telsasoft.com>
	<20190217200700.GB28750@telsasoft.com>
	<CAEepm=0kMunPC0hhuT0VC-5dfMT3K-xsToJHkTznA6yrSARsPg@mail.gmail.com>

On Mon, Feb 18, 2019 at 09:26:53AM +1300, Thomas Munro wrote:
> On Mon, Feb 18, 2019 at 9:07 AM Justin Pryzby <pryzby@telsasoft.com> 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




view thread (9+ messages)  latest in thread

Message-ID: <20190217203537.GC28750@telsasoft.com>
Permalink:  ../20190217203537.GC28750@telsasoft.com/
Also on:    postgresql.org/message-id/20190217203537.GC28750@telsasoft.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: pryzby@telsasoft.com, thomas.munro@enterprisedb.com
  Subject: Re: REL_11_STABLE: dsm.c - cannot unpin a segment that is not pinned
  In-Reply-To: <20190217203537.GC28750@telsasoft.com>
  References: <20190216023854.GF30291@telsasoft.com> <CAEepm=0t8o=Wh4wi0H58q3G1dqoj6ZYU-zu9DMp29RkVMGSvNw@mail.gmail.com> <20190216043107.GG30291@telsasoft.com> <CAEepm=1gBdB_qo_eohvYtGb9=N4Gvxas3UoA6XdX_Kg1isEcNA@mail.gmail.com> <20190217194145.GA28750@telsasoft.com> <20190217200700.GB28750@telsasoft.com> <CAEepm=0kMunPC0hhuT0VC-5dfMT3K-xsToJHkTznA6yrSARsPg@mail.gmail.com> <20190217203537.GC28750@telsasoft.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox