Re: Why so long between archive calls? - Mailing list pgsql-admin

From Andy Shellam
Subject Re: Why so long between archive calls?
Date
Msg-id 44F4690D.2010503@mailnetwork.co.uk
Whole thread Raw
In response to Why so long between archive calls?  ("Chris Hoover" <revoohc@gmail.com>)
Responses Re: Why so long between archive calls?
List pgsql-admin
Chris,

I take it you've checked that the archive_command is actually succeeding
(check the postgresql log file.)
Perhaps try running it manually with an early log file as the PostgreSQL
user account?

When you say you're 500 files behind, how old is the earliest log?

Andy.

Chris Hoover wrote:
> I am working on getting my development system working with archive
> logging so I can use the pitr features of Postgres.  However, I am
> finding that the actual archiving is not keeping up with the
> generation of the logs.  I am now over 500 wal archive files behind
> (8+ GB).
>
> What controls how often the archive_command is called?
>
> The actual running of my archive script is taking 1-2 seconds, so I'm
> not sure why we are so far behind.
>
> Thanks for any advise,
>
> Chris
>
> PG 8.1.3
> RH AS 4
> !DSPAM:37,44f45f03143293039237985!


pgsql-admin by date:

Previous
From: "Lane Van Ingen"
Date:
Subject: Re: dbsize.so for PostgreSQL 8.1.4 on Red Hat Enterprise Linux 4.0
Next
From: Bruce Momjian
Date:
Subject: Re: pgsql.v814 - BLCKSZ