pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Justin Pryzby <pryzby@telsasoft.com>
To: Andres Freund <andres@anarazel.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-general@postgresql.org
Subject: Re: backends stuck in "startup"
Date: Tue, 21 Nov 2017 19:25:41 -0600
Message-ID: <20171122012541.GP5668@telsasoft.com> (raw)
In-Reply-To: <20171121235239.5ssxkvmfwvhxavsm@alap3.anarazel.de> <20171121234558.p7rtwkasqfjvpft4@alap3.anarazel.de>

On Tue, Nov 21, 2017 at 03:45:58PM -0800, Andres Freund wrote:
> 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?

Yes, from PGDG:

[pryzbyj@TS-DB ~]$ rpm -q postgresql10
postgresql10-10.1-1PGDG.rhel6.x86_64

> How many different databases and roles are you having on that system?

postgres=# SELECT COUNT(1) FROM pg_roles ;
count | 25

postgres=# SELECT COUNT(1) FROM pg_database;
count | 15

> I guess iiiiiii is a sanitized name?

Yes

> Right. I took this to be referring to something before the current
> migration, but I might have overinterpreted things.

We never had any issue during the ~2 years running PG96 on this VM, until
upgrading Monday to PG10.1, and we've now hit it 5+ times.

BTW this is a VM run on a hypervisor managed by our customer:
DMI: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 06/22/2012

Linux TS-DB 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Justin




view thread (22+ messages)  latest in thread

Message-ID: <20171122012541.GP5668@telsasoft.com>
Permalink:  ../20171122012541.GP5668@telsasoft.com/
Also on:    postgresql.org/message-id/20171122012541.GP5668@telsasoft.com

 · 

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: pryzby@telsasoft.com, andres@anarazel.de, tgl@sss.pgh.pa.us
  Subject: Re: backends stuck in "startup"
  In-Reply-To: <20171122012541.GP5668@telsasoft.com>
  References: <20171122012541.GP5668@telsasoft.com>

* 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