Re: HELP!!! The WAL Archive is taking up all space

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: FattahRozzaq <ssoorruu(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: HELP!!! The WAL Archive is taking up all space
Date: 2015-12-10 00:46:33
Message-ID: 5668CB69.2040308@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 12/09/2015 04:38 PM, FattahRozzaq wrote:
> Quick information,
>
> After I realize, the line "archive_command=/bin/true" is a bad
> decision, I have revert it back.
> Now I'm really confused and panic.
> I don't know what to do, and I don't really understand the postgresql.conf
> I'm a network engineer, I should handle the network and also
> postgresql database.
> Oh man, the office is so good but this part is sucks :((

If the pg_xlog directory is growing it is likely that either:

* wal_keep_segments is set high and your slave is not correctly
receiving updates.

* You are using a replication slot and the slave is not correctly
receiving updates.

If your archive_command does not return a success, your pg_xlog will
also grow but you don't need the archive_command *IF* your streaming
replication is working *UNLESS* you are also doing archiving or PITR.

Sincerely,

JD

--
Command Prompt, Inc. - http://www.commandprompt.com/ 503-667-4564
PostgreSQL Centered full stack support, consulting and development.
Announcing "I'm offended" is basically telling the world you can't
control your own emotions, so everyone else should do it for you.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2015-12-10 00:55:42 Re: HELP!!! The WAL Archive is taking up all space
Previous Message FattahRozzaq 2015-12-10 00:38:51 Re: HELP!!! The WAL Archive is taking up all space