Re: PG periodic Error on W2K

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Paul Lambert <paul(dot)lambert(at)autoledgers(dot)com(dot)au>, pgsql-general(at)postgresql(dot)org
Subject: Re: PG periodic Error on W2K
Date: 2007-03-01 15:51:33
Message-ID: 20070301155133.GC4202@svr2.hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Mar 01, 2007 at 10:45:16AM -0500, Tom Lane wrote:
> Magnus Hagander <magnus(at)hagander(dot)net> writes:
> > On Thu, Mar 01, 2007 at 09:44:19AM +0900, Paul Lambert wrote:
> >> I am periodically getting errors pop up on the server console of the
> >> following nature:
> >> The File or directory D:\PostgresQL\Data\global\pgstat.stat is corrupt
> >> and unreadable. Please run the Chkdsk utility.
>
> > They can *not* be caused by a bug in PostgreSQL - no more than a kernel
> > oops in linux is the fault of PostgreSQL. Now, we do push the filesystem
> > and disk layer in an unusual way with the pgstats writes, gievn that we
> > rewrite the same file over and over and over and over again at very
> > short intervals. But nothing says we're not allowed to do that :-)
>
> I'm wondering whether the message is coming from the kernel, or some
> sort of file-scanning utility that gets confused when a file is deleted
> while it's looking at it.

That specific message comes from the kernel.

//Magnus

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2007-03-01 16:09:56 Re: General Ledger db design
Previous Message Tom Lane 2007-03-01 15:45:16 Re: PG periodic Error on W2K