pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dinesh Bhandary <dbhandary@switchfly.com>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #11264: Auto vacuum wraparound job blocking everything
Date: Fri, 29 Aug 2014 20:02:45 +0000
Message-ID: <D0262A20.15F16%dbhandary@switchfly.com> (raw)
In-Reply-To: <20140829191729.GI7705@eldon.alvh.no-ip.org>
References: <20140825225029.2536.5315@wrigleys.postgresql.org>
	<20140827152636.GC7046@eldon.alvh.no-ip.org>
	<33085ff949d9484f8d3e6a1b86d15717@CO2PR05MB569.namprd05.prod.outlook.com>
	<20140827154800.GE7046@eldon.alvh.no-ip.org>
	<f7046bb9cac04dbb817905760a1e9c8d@CO2PR05MB569.namprd05.prod.outlook.com>
	<20140827164527.GG7046@eldon.alvh.no-ip.org>
	<D0235DA4.15146%dbhandary@switchfly.com>
	<20140827175105.GI7046@eldon.alvh.no-ip.org>
	<9ac49eee319c43f6a344a2d5d2c38093@CO2PR05MB569.namprd05.prod.outlook.com>
	<20140829191729.GI7705@eldon.alvh.no-ip.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

I think the fix is working. Now I am able to kill copy job while auto
vacuum job is going on that table.

Since I am setting pg_resetxlog on the primary, do I need to do that on
the slave too? Please let me know

Thanks.
Dinesh

On 8/29/14, 12:17 PM, "Alvaro Herrera" <alvherre@2ndquadrant.com> wrote:

>Dinesh Bhandary wrote:
>> and that should fix it.  The oldestMulti value in pg_control would get
>>updated by itself some time later.  If you experience stalls before
>>oldestMulti fixes itself, you could stop the server (cleanly!) and then
>>pg_resetxlog -m x,y where x is the correct nextMulti value from
>>pg_controldata and y is 20783.
>> 
>> Are you referreing to NextMultiXactId of current pg_controldata ( from
>>postgres 9.3.5) for x?
>> There is also NextMultiOffset, not sure If you meant to reset this.
>>Please confirm.
>
>No, leave the offset alone.  I meant that the "x" value (i.e. the part
>before the comma) should stay unchanged; you only need to change the
>"oldest" value, which is "y" (part after the comma).
>
>-- 
>Álvaro Herrera                http://www.2ndQuadrant.com/
>PostgreSQL Development, 24x7 Support, Training & Services



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (24+ messages)  latest in thread

Message-ID: <D0262A20.15F16%dbhandary@switchfly.com>
Permalink:  ../D0262A20.15F16%25dbhandary@switchfly.com/
Also on:    postgresql.org/message-id/D0262A20.15F16%dbhandary@switchfly.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-bugs@postgresql.org
  Cc: dbhandary@switchfly.com, alvherre@2ndquadrant.com
  Subject: Re: BUG #11264: Auto vacuum wraparound job blocking everything
  In-Reply-To: <D0262A20.15F16%dbhandary@switchfly.com>
  References: <20140825225029.2536.5315@wrigleys.postgresql.org> <20140827152636.GC7046@eldon.alvh.no-ip.org> <33085ff949d9484f8d3e6a1b86d15717@CO2PR05MB569.namprd05.prod.outlook.com> <20140827154800.GE7046@eldon.alvh.no-ip.org> <f7046bb9cac04dbb817905760a1e9c8d@CO2PR05MB569.namprd05.prod.outlook.com> <20140827164527.GG7046@eldon.alvh.no-ip.org> <D0235DA4.15146%dbhandary@switchfly.com> <20140827175105.GI7046@eldon.alvh.no-ip.org> <9ac49eee319c43f6a344a2d5d2c38093@CO2PR05MB569.namprd05.prod.outlook.com> <20140829191729.GI7705@eldon.alvh.no-ip.org> <D0262A20.15F16%dbhandary@switchfly.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