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

Andres Freund <andres@anarazel.de> writes:
> On 2017-11-21 18:21:16 -0500, Tom Lane wrote:
>> 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.

> A futex? Hm, that was stock postgres?

Sure, since we switched to unnamed-POSIX semaphores in v10.  On Linux
those are futexes.

(If Justin saw that while still on 9.6, then it'd be worth looking
closer.)

			regards, tom lane




view thread (22+ messages)  latest in thread

Message-ID: <7332.1511308205@sss.pgh.pa.us>
Permalink:  ../7332.1511308205@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/7332.1511308205@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, andres@anarazel.de, pryzby@telsasoft.com
  Subject: Re: backends stuck in "startup"
  In-Reply-To: <7332.1511308205@sss.pgh.pa.us>
  References: <20171121230926.GA17194@telsasoft.com> <6177.1511306476@sss.pgh.pa.us> <20171121234558.p7rtwkasqfjvpft4@alap3.anarazel.de> <7332.1511308205@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