Re: REL_11_STABLE: dsm.c - cannot unpin a segment that is not pinned

From: Justin Pryzby <pryzby(at)telsasoft(dot)com>
To: Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: REL_11_STABLE: dsm.c - cannot unpin a segment that is not pinned
Date: 2019-02-17 20:35:37
Message-ID: 20190217203537.GC28750@telsasoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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(at)telsasoft(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Sergei Kornilov 2019-02-17 21:06:05 Re: allow online change primary_conninfo
Previous Message Thomas Munro 2019-02-17 20:26:53 Re: REL_11_STABLE: dsm.c - cannot unpin a segment that is not pinned