pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Justin Pryzby <pryzby@telsasoft.com>
Cc: pgsql-general@postgresql.org
Subject: Re: backends stuck in "startup"
Date: Tue, 21 Nov 2017 18:21:16 -0500
Message-ID: <6177.1511306476@sss.pgh.pa.us> (raw)
In-Reply-To: <20171121230926.GA17194@telsasoft.com>
References: <20171121230926.GA17194@telsasoft.com>

Justin Pryzby <pryzby@telsasoft.com> writes:
> As $subject: backends are stuck in startup for minutes at a time.  I didn't
> strace this time, but I believe last time I saw one was waiting in a futex.

Hm...

> I saved ~40 cores from backends from the most recent incident, which are all
> essentially identical:

This one seems to be waiting for a shared LWLock (specifically, one of
the locks for the shared-buffer lookup hashtable), which could only block
if someone else is holding that lock exclusively, which implies that
there's at least one backtrace that's different from this.  Unless you
can find what was holding that lock, there's not much we can learn from
this report ...

			regards, tom lane




view thread (22+ messages)  latest in thread

Message-ID: <6177.1511306476@sss.pgh.pa.us>
Permalink:  ../6177.1511306476@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6177.1511306476@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, pryzby@telsasoft.com
  Subject: Re: backends stuck in "startup"
  In-Reply-To: <6177.1511306476@sss.pgh.pa.us>
  References: <20171121230926.GA17194@telsasoft.com> <6177.1511306476@sss.pgh.pa.us>

* 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