From: dimitri@2ndQuadrant.fr
To: pgsql-bugs@postgresql.org
Subject: BUG #13895: Hot Standby locked replaying auto vacuum against pg_catalog.pg_statistics
Date: Thu, 28 Jan 2016 12:42:57 +0000
Message-ID: <20160128124257.2539.1850@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 13895
Logged by: Dimitri Fontaine
Email address: dimitri@2ndQuadrant.fr
PostgreSQL version: 9.3.10
Operating system: Linux
Description:
I witnessed a case where I had no time to extract information about it, so
it's all from memory, sorry about that.
We had several Hot Standby nodes in 9.3.x used for load balancing read only
queries. All queries were stuck, and pg_locks showed they were refused a
lock against pg_catalog.pg_statistics.
The lock owner PID was not to be found in the pg_stat_activity system view,
for it was the replay process.
I don't remember how I got to the conclusion it was replaying specifically
autocavuum activity, but if that's helpful, that is what I remember it was
about.
My todo list includes extracting useful information next time it happens,
before we just restart the standby (a restart fixes the availability /
situation).
Regards,
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: dimitri@2ndQuadrant.fr
Subject: Re: BUG #13895: Hot Standby locked replaying auto vacuum against pg_catalog.pg_statistics
In-Reply-To: <20160128124257.2539.1850@wrigleys.postgresql.org>
References: <20160128124257.2539.1850@wrigleys.postgresql.org>
* 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