Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aWVfu-0004Tu-BW for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Feb 2016 20:59:46 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aWVft-0000J1-UM for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Feb 2016 20:59:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aWVft-0000Iq-G7 for pgsql-bugs@postgresql.org; Thu, 18 Feb 2016 20:59:45 +0000 Received: from out.smtp-auth.no-ip.com ([8.23.224.60]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1aWVfg-0007uO-Qh for pgsql-bugs@postgresql.org; Thu, 18 Feb 2016 20:59:44 +0000 X-No-IP: alvh.no-ip.org@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from alvin.alvh.no-ip.org (unknown [200.83.202.40]) (Authenticated sender: alvh.no-ip.org@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id 26495400E46; Thu, 18 Feb 2016 12:59:25 -0800 (PST) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 12B4B5A0; Thu, 18 Feb 2016 17:59:23 -0300 (CLT) Date: Thu, 18 Feb 2016 17:59:23 -0300 From: Alvaro Herrera To: Brian Ghidinelli Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #13970: Vacuum hangs on particular table; cannot be terminated - requires `kill -QUIT pid` Message-ID: <20160218205923.GA23140@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -1.1 (-) 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 Brian Ghidinelli wrote: > Alvaro, thanks for the quick response. I’ve done some additional research and found your involvement on other threads in 2014 and 2015 that have allowed me to collect more supporting details. In a nutshell, it appears to be multixid related and /maybe/ pg_upgrade related; I don’t know if we used it on the 9.3 branch or not. I don’t have the debug symbols but I did attach gdb and could see it was working on multixid. I don’t have the ability to compile from source on this production server unfortunately but I’m happy to do whatever else I can to help the team find a solution. 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. 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. 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. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, 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