From: Brian Ghidinelli <brian@vfive.com>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #13970: Vacuum hangs on particular table; cannot be terminated - requires `kill -QUIT pid`
Date: Thu, 18 Feb 2016 17:16:26 -0800
Message-ID: <5E032A4D-801B-44FF-8FFA-FF00E08F0A7E@vfive.com> (raw)
In-Reply-To: <20160218205923.GA23140@alvherre.pgsql>
References: <20160218205923.GA23140@alvherre.pgsql>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
> On Feb 18, 2016, at 12:59, Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
>
> Okay, great. What would be most helpful is figuring out the pg_upgrade
> history of this server; if you have copies of the cluster just before
> the upgrade, to extract the "nextMultiXactId" value, that would be
> useful.
Unfortunately we removed the 9.3 data dir for space reasons… I may have backups from then so maybe I could spin up a docker container and restore it but would that tell us the same thing?
> How large is this table? We could try to scan it to look for the values
> that are causing the problem, and set oldestMxact to one that would not
> cause a problem.
Database size is 34gb. This particular table is only 105MB. If you account for all of the relations and indices it’s 239MB. There is one table in the system which is 17GB that stores email campaigns and deliveries. Everything else is all pretty small-ish at 2.5gb or under.
How do you query for oldestMxact?
> How large is the cluster? For experimentation, it would be very useful
> if you could take a copy of it, on a server where you could recompile
> with debugging symbols.
Is there a Docker container by chance that has symbols enabled? That would make standing up a test environment a lot easier. Our production infrastructure is not yet inside Docker but we run it in dev and it’s easy to spin up and throw away.
Brian
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: brian@vfive.com
Subject: Re: BUG #13970: Vacuum hangs on particular table; cannot be terminated - requires `kill -QUIT pid`
In-Reply-To: <5E032A4D-801B-44FF-8FFA-FF00E08F0A7E@vfive.com>
References: <20160218205923.GA23140@alvherre.pgsql> <5E032A4D-801B-44FF-8FFA-FF00E08F0A7E@vfive.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