Re: WAL questions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Steve Oualline" <soualline(at)stbernard(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: WAL questions
Date: 2006-01-27 20:43:51
Message-ID: 5897.1138394631@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Steve Oualline" <soualline(at)stbernard(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Oliver Fürst 2006-01-27 20:48:29 Are rules transaction safe?
Previous Message Roger Hand 2006-01-27 20:32:23 Re: xml_valid function