Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eOgIb-0004cZ-A6 for pgsql-bugs@arkaria.postgresql.org; Tue, 12 Dec 2017 08:52:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eOgIa-0000hp-H6 for pgsql-bugs@arkaria.postgresql.org; Tue, 12 Dec 2017 08:52:24 +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 1eOgIa-0000hW-96 for pgsql-bugs@lists.postgresql.org; Tue, 12 Dec 2017 08:52:24 +0000 Received: from mail-it0-x22d.google.com ([2607:f8b0:4001:c0b::22d]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eOgIS-0004B0-Q7 for pgsql-bugs@postgresql.org; Tue, 12 Dec 2017 08:52:23 +0000 Received: by mail-it0-x22d.google.com with SMTP id d137so22523792itc.2 for ; Tue, 12 Dec 2017 00:52:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Pt4HSeqBgV2NLG16yrjaTs9Gfja31+Ng9JDtqHLuY/U=; b=WmxN9E8WXBkx/ZNd7cm9WfcckmDioiedHKlcia9uNXDKbUnqalQ19sCXUu1fiIT7x0 DnJ5rKgMpdCCGoTY4zRmb3wusk9syrr6/PGuByalvnR2UvbCiVNsMUMm04lEpEJ3Lo/3 1HvKWdnzpvLrcrvDYr/Xr3wTfZQvKaT4d+PV3asBayEoMJ4sQZpOCudK8O8RlaJ2E9jg 23NvmrTnPXK+lRHkkHHgQQOlarH/39NGKl/BXYcT3YUN7wRBiUwhhZ4s/zctslSa87E+ E2RgC/HLj5V0YMH/gFvxsg1Ty/vgYv+hyoaNEM+c3JSinxRvoiD7sJQc4QUG5alUNtP/ tRYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Pt4HSeqBgV2NLG16yrjaTs9Gfja31+Ng9JDtqHLuY/U=; b=iFRCHZ3RpUQAuhEChs4LVKYyBIm4Zb0VaE19OHCzlDnrhfcAda4bpPKjCV4oJEgCeb 8Hxecesou32LysU1MsemusuBzlSF5hyLQvsYxauWVwqwDbn2tq7ujezTBsO4qvpZFdl4 oWqRfHMGrwX4IBRj6v5ea1waynDjNg+dzzTtuRbeqk+JREGakfBzvodNerHEvgqH17ZN 1fSOGg78icM1RDLOXeXvIRfdFAepKWMOp3m1jOsurWEK7XIt84lb8k/NXnMWKBSv/L+m 8rhqozdsgPvXyySg3OGhnRMx5b1VczzOMbZ5qSa1VZ82pIwf0Z4IHjFPRRVWTBHpQboi NkCQ== X-Gm-Message-State: AKGB3mKpJ+6RSCdgnuZyorwmiSoH7X+APLOs7DaMB7JAp90JJpJRJUCl 1K4i0099Lkt3mtrLJOCLYYVq0lXe63EuWc78SKPx8Q== X-Google-Smtp-Source: ACJfBoueDVFqJPH1w3Nuq9zRALKxTLbwNUvg2teIQYQUuXNRqFsnbc048ZAB7moIygE9N1Az+V+E9srYBR+1QHLhxZ4= X-Received: by 10.36.246.8 with SMTP id u8mr1545149ith.2.1513068734248; Tue, 12 Dec 2017 00:52:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.205.78 with HTTP; Tue, 12 Dec 2017 00:52:13 -0800 (PST) In-Reply-To: <1376951513064692@web55o.yandex.ru> References: <20171211141858.20143.74069@wrigleys.postgresql.org> <1376951513064692@web55o.yandex.ru> From: Raghavendra Rao J S V Date: Tue, 12 Dec 2017 14:22:13 +0530 Message-ID: Subject: Re: BUG #14963: Number of wal files are keep on increasing To: Sergei Kornilov Cc: "David G. Johnston" , "pgsql-bugs@postgresql.org" Content-Type: multipart/alternative; boundary="94eb2c0551a46cfcd2056020c440" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --94eb2c0551a46cfcd2056020c440 Content-Type: text/plain; charset="UTF-8" Hi Sergie/David, *archive_command and archive_timeout values are as below in configuration file. * #archive_command = '' # command to use to archive a logfile segment # placeholders: %p = path of file to archive # %f = file name only # e.g. 'test ! -f /mnt/server/archivedir/%f && cp %p /mnt/server/archivedir/%f' #archive_timeout = 0 # force a logfile segment switch after this # number of seconds; 0 disables Below error is there in several times in log file. WARNING,01000,"archive_mode enabled, yet archive_command is not set",,,,,,,,,"" Please help me what to do and what to set to resolve the same. Regards, Raghavendra Rao On Tue, Dec 12, 2017 at 1:14 PM, Sergei Kornilov wrote: > > archive_mode = on > hmm. archive_command was configured according enabled archive_mode? Please > show current archive_command value. And try to check postgresql logs, it > may contains some number fatal errors "archive command failed with exit > code" > > regards, Sergei > -- Regards, Raghavendra Rao J S V Mobile- 8861161425 --94eb2c0551a46cfcd2056020c440 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Sergie/David,

archive_command and archive_timeout = values are as below in configuration file.=C2=A0

#archive_command =3D '' = # command to use to archive a logfile segment
# placeholders: %p =3D path of file to archive=
#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0%f =3D file name only
= # e.g. 'test ! -f /mnt/server/archivedir/%f && cp %p= /mnt/server/archivedir/%f'
#archive_timeout =3D 0 # force a logfile segment switch after this
# number of seconds; 0 disables

Be= low error is there in several times in log file.

WARNING,01000,"= ;archive_mode enabled, yet archive_command is not set",,,,,,,,,"&= quot;

Please help me what to do and what to set to resolve the s= ame.

Regards,
Raghavendra Rao


<= div class=3D"gmail_quote">On Tue, Dec 12, 2017 at 1:14 PM, Sergei Kornilov = <sk@z= srv.org> wrote:
> archiv= e_mode =3D on
hmm. archive_command was configured according enabled archive_mode? Please = show current archive_command value. And try to check postgresql logs, it ma= y contains some number fatal errors "archive command failed with exit = code"

regards, Sergei



--
Regards,
Raghavendra Rao J S V
Mobile- 8861161425
--94eb2c0551a46cfcd2056020c440--