Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XNU0i-0003iZ-N4 for pgsql-bugs@arkaria.postgresql.org; Fri, 29 Aug 2014 21:47:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XNU0i-0006Bu-5k for pgsql-bugs@arkaria.postgresql.org; Fri, 29 Aug 2014 21:47:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XNTUY-0003tn-Pc for pgsql-bugs@postgresql.org; Fri, 29 Aug 2014 21:13:54 +0000 Received: from mail-by2ln0143.outbound.protection.outlook.com ([2a01:111:f400:7c0c::143] helo=na01-by2-obe.outbound.protection.outlook.com) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XNTUV-00077n-83 for pgsql-bugs@postgresql.org; Fri, 29 Aug 2014 21:13:53 +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 21:13:43 +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 21:13:43 +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//5dJgIAAh46A//+MRQA= Date: Fri, 29 Aug 2014 21:13:41 +0000 Message-ID: References: <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> <20140829210753.GK7705@eldon.alvh.no-ip.org> In-Reply-To: <20140829210753.GK7705@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)(46102001)(15202345003)(99396002)(76482001)(101416001)(19580395003)(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: <18092F2DD9AFED42B05965620C0814A3@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 Hi Alvaro, I was killing to reproduce the bug.Once it is fixed we have no need to kill these jobs. Now we still have this production server not running in auto vacuum till we apply the fix during next maintenance window. Is running vacuum manually safe, or we may run into the same issue as auto vacuum tx wraparound job? I am thinking max_freeze set to 500 million, manual vacuum won=B9t freeze xids, and it may be ok to run. But I am not completely sure and worried about the same issue happening in production even with manual vacuum. Please let me know. Thanks a lot for your help. Much appreciated. Dinesh On 8/29/14, 2:07 PM, "Alvaro Herrera" wrote: >Dinesh Bhandary wrote: >> I think the fix is working. Now I am able to kill copy job while auto >> vacuum job is going on that table. > >I hope this killing of autovacuum jobs is not continued operational >practice. You need whole-table vacuums of all your tables once in a >while. (Note you can increase the "freeze_table_age" parameters if you >want to be forced to do that less frequently. See the docs.) > >> Since I am setting pg_resetxlog on the primary, do I need to do that on >> the slave too? Please let me know > >No, the slave should fix itself once the checkpoint record is replayed. > >--=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