Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBq3k-0005Bs-4M for pgsql-admin@arkaria.postgresql.org; Mon, 06 Nov 2017 22:40:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eBq3j-000495-La for pgsql-admin@arkaria.postgresql.org; Mon, 06 Nov 2017 22:39:59 +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_2) (envelope-from ) id 1eBq3j-00048w-6R for pgsql-admin@postgresql.org; Mon, 06 Nov 2017 22:39:59 +0000 Received: from mail-io0-x235.google.com ([2607:f8b0:4001:c06::235]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1eBq3g-0001Vg-9k for pgsql-admin@postgresql.org; Mon, 06 Nov 2017 22:39:57 +0000 Received: by mail-io0-x235.google.com with SMTP id b186so91156iof.8 for ; Mon, 06 Nov 2017 14:39:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=propaas-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=PLqKfnEG/OJ9E4YXBmtAK41AgOzgT53sxG1uJWTnROk=; b=EHi2d93Pw11B7fS+vKuIdW1MQN2DG7EtXN/8CnPJvGQeAv88315ZJvb2/POgzrPNe3 c+hbXA9zvYCUry4oHLkdNaMG4192c/khwDu01kD8iTg21PJBNc4quO0fLQo0OZRATCRB 7oLi9txPVje0cSANYABLl47t+UkoWppuKmlqEbU7bfuvjrCHPH2CrZtiEojf8tTqYu1E pmTz/qTPA0xY8a7Zyvg3wrV9nRm5VG8B3dIGu0vNbt9VuGBPLiJvRgdSImbXVU+Obv7J Ig7Z56cSe3RxzJgeCG4jBdF6ovzD0yie1nw8HoG6ild6J2XEcodg7KzCPVOjfaVjk/TU I26w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=PLqKfnEG/OJ9E4YXBmtAK41AgOzgT53sxG1uJWTnROk=; b=lZ/gLACKBv+tQYLd1dqU59urehz3QavBOzRZyWPLQdZGW5KALKBS7E6t4kMfddBuee yMeZiPmXKOWuDST6aKM7PCO2A8RPbRM2d7GzntuDLA98FhSZrYKD+cOof72Cgy5aaGd8 4cpUYyZh+juH4AqpFt6lRGlGABMvBJqgbeGDAP0R5JzV3eHd3vX/zc1tSpHpgACYN3bE voUMeQJOre32FUEh2BvXB3o74NlRUpns3oXrLwg58tMTkh4tCSD76MfY2J97I90KvHmg N2nSNOBav1OqbrUC7rM9W14pW4niHoCustpPNrAg3R9EP+2YCQuwBzNV1Hvzlp7lPVp0 fF6w== X-Gm-Message-State: AMCzsaVz1+2aTmO7rMaI8a8dm4gTZjCWgRCrav8oX7s0ixzKFSq0zuqU Yjq/nkNIZ13Ns94BoPvPX5c8rz9vFp4= X-Google-Smtp-Source: ABhQp+SEXlMeCHbrNpZU26pHCqWVgLwTShOzn0nuLnPgFud2j0RZfD9Pp7q5ZUIHvWfE9j1N2t+xRA== X-Received: by 10.107.140.18 with SMTP id o18mr20664662iod.35.1510007994942; Mon, 06 Nov 2017 14:39:54 -0800 (PST) Received: from ?IPv6:2603:300b:729:7400::8d7d? ([2603:300b:729:7400::8d7d]) by smtp.gmail.com with ESMTPSA id r16sm6208265ioi.61.2017.11.06.14.39.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Nov 2017 14:39:54 -0800 (PST) Subject: Re: Standby wal issue To: "Joshua D. Drake" , pgsql-admin@postgresql.org References: <2e665cd4-da55-ae82-bdb7-c26e7ba91547@propaas.com> <4bc00717-c926-675f-b826-40f3324ce4fd@commandprompt.com> From: chris kim Message-ID: <8e33df50-415d-6336-e26f-59d213a5ea9e@propaas.com> Date: Mon, 6 Nov 2017 15:39:53 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <4bc00717-c926-675f-b826-40f3324ce4fd@commandprompt.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US 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 Thanks for helping. Here's the recovery.conf file: standby_mode= 'on' trigger_file = '/tmp/standby.trg' archive_cleanup_command = '/usr/pgsql-9.2/bin/pg_archivecleanup /ComplianceDB/data/pg_xlog/ %r' On 11/06/2017 02:22 PM, Joshua D. Drake wrote: > On 11/06/2017 11:34 AM, chris kim wrote: >> Hi Community, >> >> 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. > > What does your recovery.conf file say? > > JD > >> >> >> Thanks, >> >> Chris >> >> >> > -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin