Re: postmaster crash - Mailing list pgsql-bugs

From Tom Lane
Subject Re: postmaster crash
Date
Msg-id 737.1017164783@sss.pgh.pa.us
Whole thread Raw
In response to postmaster crash  ("Michael Beckstette" <mbeckste@TechFak.Uni-Bielefeld.DE>)
List pgsql-bugs
"Michael Beckstette" <mbeckste@TechFak.Uni-Bielefeld.DE> writes:
> from time to time my postmaster crashes with the below mentioned errormessage.

> DEBUG:  MoveOfflineLogs: remove 0000000D000000A3
> FATAL 2:  MoveOfflineLogs: cannot read xlog dir: Invalid argument

Hmm.  I cannot see a reason for the xlog directory to be unreadable,
especially not if it's readable most of the time.

The code that is reporting this failure is in MoveOfflineLogs() in
src/backend/access/transam/xlog.c.  You could maybe add some
additional debug logging there to try to understand what is going wrong
... but I sure don't see any reason for readdir() to fail, especially
not if it's succeeded on previous calls --- and your log indicates it's
succeeded at least once.

Are you perhaps running Postgres over an NFS mount?  That's widely
considered unreliable.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Inconsistant use of index.
Next
From: "Michael Beckstette"
Date:
Subject: Re: postmaster crash