From: Justin Pryzby <pryzby@telsasoft.com>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-general@postgresql.org
Subject: Re: backends stuck in "startup"
Date: Wed, 22 Nov 2017 05:31:08 -0600
Message-ID: <20171122113108.GA17429@telsasoft.com> (raw)
In-Reply-To: <20171121234027.b4n4jlsfda42qb6r@alap3.anarazel.de>
References: <20171121230926.GA17194@telsasoft.com>
<20171121234027.b4n4jlsfda42qb6r@alap3.anarazel.de>
On Tue, Nov 21, 2017 at 03:40:27PM -0800, Andres Freund wrote:
> Hi,
>
> On 2017-11-21 17:09:26 -0600, Justin Pryzby wrote:
> > I'm sorry to report this previously reported problem is happening again,
> > starting shortly after pg_upgrading a customer to PG10.1 from 9.6.5.
> >
> > 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.
>
> > - I'm planning do disable sync seqscan for the night (although as I understand
> > that may not matter (?))
>
> I doubt it matters here.
The system still got wedged/stuck after a few hours even with:
synchronize_seqscans=off; and use of pg_buffercache disabled (but extension not
actually dropped), and our maintenance (vacuum and reindex) scripts disabled
(these normally only run at night, so at least REINDEX script wasn't involved
with several earlier incidents of this issue; but, I was still running the
vacuum ANALYZE script post-upgrade).
Justin
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
Subject: Re: backends stuck in "startup"
In-Reply-To: <20171122113108.GA17429@telsasoft.com>
References: <20171121230926.GA17194@telsasoft.com> <20171121234027.b4n4jlsfda42qb6r@alap3.anarazel.de> <20171122113108.GA17429@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