Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1boXCr-0002Kw-DD for pgsql-bugs@arkaria.postgresql.org; Mon, 26 Sep 2016 14:48:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1boXCr-0004Cj-00 for pgsql-bugs@arkaria.postgresql.org; Mon, 26 Sep 2016 14:48:33 +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 1boXCq-0004Cd-ML for pgsql-bugs@postgresql.org; Mon, 26 Sep 2016 14:48:32 +0000 Received: from fr1.2ndquadrant.fr ([2001:41d0:2:127c::1]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1boXCn-0000LH-8t for pgsql-bugs@postgresql.org; Mon, 26 Sep 2016 14:48:32 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by fr1.2ndquadrant.fr (Postfix) with ESMTP id E6DE860967; Mon, 26 Sep 2016 16:48:27 +0200 (CEST) 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 RR54JLKiKdzR; Mon, 26 Sep 2016 16:48:26 +0200 (CEST) Received: from [192.168.0.3] (ath91-3-88-167-161-184.fbx.proxad.net [88.167.161.184]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: charles) by fr1.2ndquadrant.fr (Postfix) with ESMTPSA id C2F6260964; Mon, 26 Sep 2016 16:48:25 +0200 (CEST) Subject: Re: BUG #14340: pg xlog size increasing To: kgmeetsonu@gmail.com, pgsql-bugs@postgresql.org References: <20160926135355.1514.20360@wrigleys.postgresql.org> From: Vik Fearing Message-ID: <8a3a6780-18f6-d23a-2350-ac7ad335c9e7@2ndquadrant.fr> Date: Mon, 26 Sep 2016 16:48:22 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160926135355.1514.20360@wrigleys.postgresql.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -4.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 On 09/26/2016 03:53 PM, kgmeetsonu@gmail.com wrote: > The following bug has been logged on the website: > > Bug reference: 14340 > Logged by: sonu gupta > Email address: kgmeetsonu@gmail.com > PostgreSQL version: 9.4.9 > Operating system: Red Hat 4.8.5-4, 64-bit > Description: > > Hi, > > I created a new DB, with a master and 2 slave nodes on different data > centers. > > I observed, pg xlog size is increasing rapidly and now its 183 GB, while > simple update is going on on a single table. > > xlog size is not getting down... > > I assume, missing some config setting. > > Please help me, its urgent. > > Thanks in advance!!! This is not a bug, please direct future questions like this to the pgsql-general list. Check that your archive_command is functioning correctly, and that you don't have any inactive replication slots (select * from pg_replication_slots where not active). Also check the server logs if both those things are okay. -- Vik Fearing +33 6 46 75 15 36 http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs