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

From David Pacheco
Subject Re: [GENERAL] postmaster deadlock while logging after syslogger exited
Date
Msg-id CACukRjNty_tAqq789sENcBy5BdPRBruPuUO5bspiu_JKzt1j7w@mail.gmail.com
Whole thread Raw
In response to Re: [GENERAL] postmaster deadlock while logging after syslogger exited  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Mon, Nov 6, 2017 at 12:35 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
David Pacheco <dap@joyent.com> writes:
> I ran into what appears to be a deadlock in the logging subsystem.  It
> looks like what happened was that the syslogger process exited because it
> ran out of memory.  But before the postmaster got a chance to handle the
> SIGCLD to restart it, it handled a SIGUSR1 to start an autovacuum worker.
> That also failed, and the postmaster went to log a message about it, but
> it's blocked on the pipe that's normally connected to the syslogger,
> presumably because the pipe is full because the syslogger is gone and
> hasn't read from it.

Ugh.


Should I file a bug on this issue?

Thanks,
Dave

pgsql-general by date:

Previous
From: Ron Johnson
Date:
Subject: Re: [GENERAL] pg_restore load data
Next
From: Andres Freund
Date:
Subject: Re: [GENERAL] postmaster deadlock while logging after sysloggerexited