Re: [GENERAL] postmaster deadlock while logging after sysloggerexited - Mailing list pgsql-general

From Andres Freund
Subject Re: [GENERAL] postmaster deadlock while logging after sysloggerexited
Date
Msg-id 20171120191733.ac34edgl5x6adrbb@alap3.anarazel.de
Whole thread Raw
In response to Re: [GENERAL] postmaster deadlock while logging after syslogger exited  (David Pacheco <dap@joyent.com>)
List pgsql-general
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


pgsql-general by date:

Previous
From: David Pacheco
Date:
Subject: Re: [GENERAL] postmaster deadlock while logging after syslogger exited
Next
From: Vick Khera
Date:
Subject: Re: To all who wish to unsubscribe