Re: BUG #1208: Invalid page header

From: "Robert E(dot) Bruccoleri" <bruc(at)stone(dot)congenomics(dot)com>
To: tgl(at)sss(dot)pgh(dot)pa(dot)us (Tom Lane)
Cc: bruc(at)acm(dot)org, peter_e(at)gmx(dot)net, pgman(at)candle(dot)pha(dot)pa(dot)us, bruc(at)stone(dot)congenomics(dot)com, pgsql-bugs(at)postgresql(dot)org, hubert(dot)froehlich(at)bvv(dot)bayern(dot)de
Subject: Re: BUG #1208: Invalid page header
Date: 2004-08-21 22:59:25
Message-ID: 200408212259.i7LMxPpZ002621@stone.congenomics.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Dear Tom,
I tried another load of the databases with fsync off (-F to
the postmaster), and I encountered at least one invalid page
header. Is there code in Postgres that handles the buffer cache
differently if fsync is off? Could this be a timing issue, since -F
does make PostgreSQL run faster?
BTW, I'll be out of the office for two weeks, so you'll hear
back from me around Labor Day. Thanks. --Bob

Tom Lane writes:
>
>
> "Robert E. Bruccoleri" <bruc(at)stone(dot)congenomics(dot)com> writes:
> > Besides a no optimization compilation of 7.4.3, what else
> > would you recommend to explore this problem further? Thanks. --Bob
>
> I really haven't the foggiest where to look :-( I don't actually
> believe that it's a spinlock problem; that would explain pages getting
> substituted for other pages, in whole or in part, but you showed at
> least one example where a page was just overwritten with garbage.
> That looks more like a memory-stomp problem (again, assuming that it's
> software) and so could be anywhere.
>
> Are you using any off-the-beaten-track code (contrib modules,
> non-btree indexes, non-mainstream data types)? That stuff is less
> well debugged than the mainstream ...
>
> regards, tom lane
>

+-----------------------------+------------------------------------+
| Robert E. Bruccoleri, Ph.D. | email: bruc(at)acm(dot)org |
| President, Congenair LLC | URL: http://www.congen.com/~bruc |
| P.O. Box 314 | Phone: 609 818 7251 |
| Pennington, NJ 08534 | |
+-----------------------------+------------------------------------+

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2004-08-21 23:46:43 Re: BUG #1208: Invalid page header
Previous Message Bruce Momjian 2004-08-21 18:27:38 Re: [BUGS] postgresql 8.0b1 Win32 observations