Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XMhTH-00051Z-IF for pgsql-bugs@arkaria.postgresql.org; Wed, 27 Aug 2014 17:57:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XMhTG-0004mG-Qa for pgsql-bugs@arkaria.postgresql.org; Wed, 27 Aug 2014 17:57:22 +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 1XMgi5-0000tY-KI for pgsql-bugs@postgresql.org; Wed, 27 Aug 2014 17:08:37 +0000 Received: from mail-by2ln0130.outbound.protection.outlook.com ([2a01:111:f400:7c0c::130] helo=na01-by2-obe.outbound.protection.outlook.com) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XMgi1-0004b4-A7 for pgsql-bugs@postgresql.org; Wed, 27 Aug 2014 17:08:35 +0000 Received: from CO2PR05MB569.namprd05.prod.outlook.com (10.141.197.12) by CO2PR05MB571.namprd05.prod.outlook.com (10.141.197.24) with Microsoft SMTP Server (TLS) id 15.0.1010.18; Wed, 27 Aug 2014 17:08:25 +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.1010.016; Wed, 27 Aug 2014 17:08:25 +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//+RDgA= Date: Wed, 27 Aug 2014 17:08:24 +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> In-Reply-To: <20140827164527.GG7046@eldon.alvh.no-ip.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [208.87.215.5] x-microsoft-antispam: BCL:0;PCL:0;RULEID:;UriScan:; x-forefront-prvs: 0316567485 x-forefront-antispam-report: SFV:NSPM; SFS:(6009001)(377454003)(479174003)(51704005)(31014004)(199003)(189002)(24454002)(106356001)(107046002)(92726001)(85852003)(90102001)(76176999)(15202345003)(20776003)(36756003)(81542001)(81342001)(31966008)(2656002)(66066001)(93886004)(79102001)(106116001)(95666004)(50986999)(64706001)(19580405001)(83072002)(46102001)(19580395003)(92566001)(54356999)(110136001)(77982001)(76482001)(99396002)(80022001)(86362001)(101416001)(83322001)(15975445006)(99286002)(105586002)(74502001)(74662001)(85306004)(4396001)(21056001)(87936001); DIR:OUT; SFP:; SCL:1; SRVR:CO2PR05MB571; 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: <6FD0206874AED642A553DD9EB7DF229A@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 Yes, it was upgraded a month ago using postgresql 9.3.4 binaries. It was just patched up last week with 9.3.5. I checked all the other servers which we upgraded using postgres 9.3.5 binaries, oldestMultiXid is other than 1 and it seems to be have picked the right number. But the server in question was upgraded using postgres 9.3.4 binaries. This sounds suspicious. Could it be pg_upgrade in 9.3.4 is buggy. How do we fix the current issue with this one server? Is there an easy fix? Thanks. Dinesh On 8/27/14, 9:45 AM, "Alvaro Herrera" wrote: >Dinesh Bhandary wrote: >> Here is the pg_controldata output from 9.1. Thanks. Dinesh >>=20 >> $ /usr/pgsql-9.1/bin/pg_controldata data > >> Time of latest checkpoint: Sat 19 Jul 2014 07:02:38 AM GMT > >Ah, so you upgraded a month ago, not one week ago, right? > > >> Latest checkpoint's NextMultiXactId: 20783 > >I'm betting this is the problem. The 9.3 cluster should have >oldestMulti=3D20783, but instead it has oldestMulti=3D1. Either pg_upgrade >is misreading the nextMulti value from the old cluster, or pg_resetxlog >is failing to set oldestMulti appropriately ... or something funny >happened to pg_control in the meantime. I just ran a quick test, and I >see that pg_upgrade is setting oldestMulti correctly (to the old >cluster's NextMultiXactId value) in the new cluster when upgrading from >9.1. > >--=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