pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: David Pacheco <dap@joyent.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] postmaster deadlock while logging after syslogger exited
Date: Mon, 20 Nov 2017 11:17:33 -0800
Message-ID: <20171120191733.ac34edgl5x6adrbb@alap3.anarazel.de> (raw)
In-Reply-To: <CACukRjO1Cq3FSNznwn_896xZrGXK1wHO6J75h64e7zBw+OxRVw@mail.gmail.com>
References: <19239.1510000503@sss.pgh.pa.us>
	<20171117015040.m36ovf5dqtg3star@alap3.anarazel.de>
	<22373.1510886389@sss.pgh.pa.us>
	<20171117025438.vjvgmrrnkpnojleq@alap3.anarazel.de>
	<23680.1510887983@sss.pgh.pa.us>
	<5B347B42-1A82-448A-9814-CAAB3BA189E8@anarazel.de>
	<24571.1510889371@sss.pgh.pa.us>
	<CACukRjPp+JicsFFKD-P6ORQhjs_sEw_OFOXXkefWbk0ToNywAg@mail.gmail.com>
	<20171120183458.kdc5qklykeu74k2e@alap3.anarazel.de>
	<CACukRjO1Cq3FSNznwn_896xZrGXK1wHO6J75h64e7zBw+OxRVw@mail.gmail.com>

Hi,

On 2017-11-20 11:12:08 -0800, David Pacheco wrote:
> > > This is a critical point.  As far as I can tell, all that's necessary
> > > for this deadlock to occur is:
> > >
> > > - the syslogger is unable to make forward progress (e.g., because it
> > > segfaulted)
> >
> > This specific case I don't care that much about, but ...

> I understand if the community isn't interested in fixing this case if other
> users aren't seeing it much, but surely it's still a bug that this unusual
> case can result in a deadlock?

I care about the deadlock issue if triggered by out of memory
cases. That's something that can be expected during operation. Being
fully resistant against segfaults in arbitrary places however is not
unlikely to introduce more bugs than cases where it saves the day.

Greetings,

Andres Freund




view thread (22+ messages)  latest in thread

Message-ID: <20171120191733.ac34edgl5x6adrbb@alap3.anarazel.de>
Permalink:  ../20171120191733.ac34edgl5x6adrbb@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20171120191733.ac34edgl5x6adrbb@alap3.anarazel.de

 · 

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-general@postgresql.org
  Cc: andres@anarazel.de, dap@joyent.com, tgl@sss.pgh.pa.us
  Subject: Re: [GENERAL] postmaster deadlock while logging after syslogger exited
  In-Reply-To: <20171120191733.ac34edgl5x6adrbb@alap3.anarazel.de>
  References: <19239.1510000503@sss.pgh.pa.us> <20171117015040.m36ovf5dqtg3star@alap3.anarazel.de> <22373.1510886389@sss.pgh.pa.us> <20171117025438.vjvgmrrnkpnojleq@alap3.anarazel.de> <23680.1510887983@sss.pgh.pa.us> <5B347B42-1A82-448A-9814-CAAB3BA189E8@anarazel.de> <24571.1510889371@sss.pgh.pa.us> <CACukRjPp+JicsFFKD-P6ORQhjs_sEw_OFOXXkefWbk0ToNywAg@mail.gmail.com> <20171120183458.kdc5qklykeu74k2e@alap3.anarazel.de> <CACukRjO1Cq3FSNznwn_896xZrGXK1wHO6J75h64e7zBw+OxRVw@mail.gmail.com> <20171120191733.ac34edgl5x6adrbb@alap3.anarazel.de>

* 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