Re: Startup process thrashing - Mailing list pgsql-general

From Tom Lane
Subject Re: Startup process thrashing
Date
Msg-id 8935.1229014782@sss.pgh.pa.us
Whole thread Raw
In response to Re: Startup process thrashing  (Greg Smith <gsmith@gregsmith.com>)
Responses Re: Startup process thrashing  ("Scott Marlowe" <scott.marlowe@gmail.com>)
Re: Startup process thrashing  (Phillip Berry <pberry@stellaconcepts.com>)
List pgsql-general
Greg Smith <gsmith@gregsmith.com> writes:
> On Thu, 11 Dec 2008, Phillip Berry wrote:
>> I'm not running PITR and checkpoint_segments is set to 100 as this is
>> home to a very write intensive app.

> That's weird then.  It shouldn't ever keep around more than 201 WAL
> segments.  I've heard one report of a similarly mysterious excess of them,
> from Robert Treat, but that was probably caused by a hardware failure.

AFAIK the only non-PITR reason for WAL files to not get recycled is if
checkpoints were failing.  Do you still have the postmaster log from
before the original crash, and if so is there anything in there about
checkpoint failures?

            regards, tom lane

pgsql-general by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: Data Replication
Next
From: "Scott Marlowe"
Date:
Subject: Re: Startup process thrashing