Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XNTVc-0001yk-9d for pgsql-bugs@arkaria.postgresql.org; Fri, 29 Aug 2014 21:15:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XNTVb-0004f7-QM for pgsql-bugs@arkaria.postgresql.org; Fri, 29 Aug 2014 21:14:59 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XNSO1-0006E7-Ip for pgsql-bugs@postgresql.org; Fri, 29 Aug 2014 20:03:05 +0000 Received: from mail-bn1ln0168.outbound.protection.outlook.com ([2a01:111:f400:7c10::168] helo=na01-bn1-obe.outbound.protection.outlook.com) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XNSNx-0004G6-HL for pgsql-bugs@postgresql.org; Fri, 29 Aug 2014 20:03:03 +0000 Received: from CO2PR05MB569.namprd05.prod.outlook.com (10.141.197.12) by CO2PR05MB570.namprd05.prod.outlook.com (10.141.197.14) with Microsoft SMTP Server (TLS) id 15.0.1010.18; Fri, 29 Aug 2014 20:02:45 +0000 Received: from CO2PR05MB569.namprd05.prod.outlook.com ([10.141.197.12]) by CO2PR05MB569.namprd05.prod.outlook.com ([10.141.197.12]) with mapi id 15.00.1019.015; Fri, 29 Aug 2014 20:02:45 +0000 From: Dinesh Bhandary To: Alvaro Herrera CC: "pgsql-bugs@postgresql.org" Subject: Re: BUG #11264: Auto vacuum wraparound job blocking everything Thread-Topic: [BUGS] BUG #11264: Auto vacuum wraparound job blocking everything Thread-Index: AQHPwgtKDwlGtQngsEK6RePqnyI6YpvklL7AgAADugCAAAkFcIAABwiA//+RDgCAAIFIgIADOflggAAC1gD//5dJgA== Date: Fri, 29 Aug 2014 20:02:45 +0000 Message-ID: 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> <20140827164527.GG7046@eldon.alvh.no-ip.org> <20140827175105.GI7046@eldon.alvh.no-ip.org> <9ac49eee319c43f6a344a2d5d2c38093@CO2PR05MB569.namprd05.prod.outlook.com> <20140829191729.GI7705@eldon.alvh.no-ip.org> In-Reply-To: <20140829191729.GI7705@eldon.alvh.no-ip.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [208.87.215.5] x-microsoft-antispam: BCL:0;PCL:0;RULEID:;UriScan:; x-forefront-prvs: 0318501FAE x-forefront-antispam-report: SFV:NSPM; SFS:(6009001)(57704003)(479174003)(24454002)(51704005)(199003)(377454003)(189002)(83322001)(36756003)(4396001)(81342001)(106356001)(105586002)(77982001)(31966008)(76176999)(2656002)(85306004)(79102001)(87936001)(20776003)(110136001)(106116001)(15975445006)(50986999)(19580405001)(92726001)(80022001)(92566001)(93886004)(85852003)(107046002)(74502001)(54356999)(66066001)(64706001)(21056001)(81542001)(99286002)(90102001)(15202345003)(46102001)(99396002)(101416001)(19580395003)(76482001)(95666004)(86362001)(74662001); DIR:OUT; SFP:; SCL:1; SRVR:CO2PR05MB570; H:CO2PR05MB569.namprd05.prod.outlook.com; FPR:; MLV:sfv; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Content-Type: text/plain; charset="iso-8859-1" Content-ID: <05A5F0358FD0AD498D76FE07A8FA5F11@namprd05.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: switchfly.com X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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" 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. >>=20 >> 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). > >--=20 >=C1lvaro Herrera http://www.2ndQuadrant.com/ >PostgreSQL Development, 24x7 Support, Training & Services --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs