Re: WAL questions - Mailing list pgsql-general

From Tom Lane
Subject Re: WAL questions
Date
Msg-id 5897.1138394631@sss.pgh.pa.us
Whole thread Raw
In response to WAL questions  ("Steve Oualline" <soualline@stbernard.com>)
List pgsql-general
"Steve Oualline" <soualline@stbernard.com> writes:
> We have a system with 1202 files in the WAL directory (pg_xlog).
> When we start postmaster, it goes into the starting state for 5 minutes
> and then crashes.

Define "crash".  If you don't show us the *exact* messages you're
seeing, it's difficult to guess what's going on.

Also, what happened when the postmaster stopped the first time?  The
most interesting part of this from my point of view is how did you get
into this state in the first place --- unless you had set insanely high
values for checkpoint_segments and checkpoint_timeout, you should not
have gotten up to that many files in pg_xlog.  A plausible guess is that
something was preventing checkpoints from completing, but any such
problem should have left traces in the postmaster log.  If you've still
got the pre-crash log it would be very interesting to see.

            regards, tom lane

pgsql-general by date:

Previous
From: "Roger Hand"
Date:
Subject: Re: xml_valid function
Next
From: Oliver Fürst
Date:
Subject: Are rules transaction safe?