Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eByLH-0004Bq-3e for pgsql-admin@arkaria.postgresql.org; Tue, 07 Nov 2017 07:30:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eByLG-0001CW-MI for pgsql-admin@arkaria.postgresql.org; Tue, 07 Nov 2017 07:30:38 +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_2) (envelope-from ) id 1eByLG-0001CN-CA for pgsql-admin@postgresql.org; Tue, 07 Nov 2017 07:30:38 +0000 Received: from mx1.mailbox.org ([80.241.60.212]) by magus.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1eByLD-0004Gm-L4 for pgsql-admin@postgresql.org; Tue, 07 Nov 2017 07:30:37 +0000 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id A57BA46F7E; Tue, 7 Nov 2017 08:30:33 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter02.heinlein-hosting.de (spamfilter02.heinlein-hosting.de [80.241.56.116]) (amavisd-new, port 10030) with ESMTP id WMnc9zpgg4jh; Tue, 7 Nov 2017 08:30:31 +0100 (CET) Message-ID: <1510039830.2845.32.camel@cybertec.at> Subject: Re: Standby wal issue From: Laurenz Albe To: chris kim , pgsql-admin@postgresql.org Date: Tue, 07 Nov 2017 08:30:30 +0100 In-Reply-To: <2e665cd4-da55-ae82-bdb7-c26e7ba91547@propaas.com> References: <2e665cd4-da55-ae82-bdb7-c26e7ba91547@propaas.com> Organization: Cybertec Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org chris kim wrote: > I have a standby server that is in replication mode only, and is storing > an insane amount of wal files and it's only on the standby not the > master. I have over 50,000 wal files right now. I only have a few > processes running on the background and they all seem to not be the > problem. This is running on postgres 9.2. Any help would be greatly > appreciated. Check the "pg_stat_replication" view to see if the standby keeps up applying the changes - failure to do so could be a reason for WAL piling up. If host standby is active, is "max_standby_streaming_delay" configured so that long running transactions on the standby could block replication? Yours, Laurenz Albe -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin