Re: postmaster deadlock while logging after syslogger exited

From: David Pacheco <dap(at)joyent(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: postmaster deadlock while logging after syslogger exited
Date: 2017-11-17 00:11:16
Message-ID: CACukRjNty_tAqq789sENcBy5BdPRBruPuUO5bspiu_JKzt1j7w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Nov 6, 2017 at 12:35 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> David Pacheco <dap(at)joyent(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andres Freund 2017-11-17 01:50:40 Re: postmaster deadlock while logging after syslogger exited
Previous Message Ron Johnson 2017-11-16 21:33:03 Re: pg_restore load data