Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aOmTu-0003YT-6Q for pgsql-bugs@arkaria.postgresql.org; Thu, 28 Jan 2016 13:19:26 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aOmTt-0002Le-PY for pgsql-bugs@arkaria.postgresql.org; Thu, 28 Jan 2016 13:19:25 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aOmTs-0002JZ-UZ for pgsql-bugs@postgresql.org; Thu, 28 Jan 2016 13:19:25 +0000 Received: from fr1.2ndquadrant.fr ([2001:41d0:2:127c::1]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aOmTq-00063q-0h for pgsql-bugs@postgresql.org; Thu, 28 Jan 2016 13:19:23 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by fr1.2ndquadrant.fr (Postfix) with ESMTP id 7ADF861FA9; Thu, 28 Jan 2016 14:19:19 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at fr1.2ndquadrant.fr Received: from fr1.2ndquadrant.fr ([127.0.0.1]) by localhost (fr1.2ndquadrant.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sqBUHGckRMjc; Thu, 28 Jan 2016 14:19:18 +0100 (CET) Received: from Dimitris-MacBook-Air.local (83.224-78-194.adsl-static.isp.belgacom.be [194.78.224.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dimitri) by fr1.2ndquadrant.fr (Postfix) with ESMTPSA id E1B656BE58; Thu, 28 Jan 2016 14:19:17 +0100 (CET) From: Dimitri Fontaine To: Alvaro Herrera Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #13895: Hot Standby locked replaying auto vacuum against pg_catalog.pg_statistics Organization: 2ndQuadrant References: <20160128125351.GA728572@alvherre.pgsql> User-Mail-Address: dimitri@2ndQuadrant.fr Date: Thu, 28 Jan 2016 14:19:15 +0100 In-Reply-To: <20160128125351.GA728572@alvherre.pgsql> (Alvaro Herrera's message of "Thu, 28 Jan 2016 13:53:51 +0100") Message-ID: User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.5 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 Alvaro Herrera writes: > replay process to take some time. It is strange that it would be locked > for long enough to allow for manually querying pg_locks and > pg_stat_activity. We restarted the standby after maybe 35 mins of application downtime due to the incident=E2=80=A6 the diagnostic and restart did happen a tad late i= n the process on that ocasion, as it sometimes happens. So the lock has been kept about that long. --=20 Dimitri Fontaine 06 63 07 10 78 http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs