From: Andrew Kroeger <andrew@sprocks.gotdns.com>
To: Jonathan Hedstrom <jhedstrom@desc.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Scott Marlowe <smarlowe@g2switchworks.com>
Cc: pgsql general <pgsql-general@postgresql.org>
Cc: Ken Tanzer <ktanzer@desc.org>
Subject: Re: ERROR: invalid memory alloc request size, and others
Date: Tue, 09 Jan 2007 16:39:28 -0600
Message-ID: <45A419A0.40901@sprocks.gotdns.com> (raw)
In-Reply-To: <45A41341.6060209@desc.org>
References: <45A3EF27.1020300@desc.org>
<1168372894.20602.164.camel@state.g2switchworks.com>
<10523.1168377845@sss.pgh.pa.us>
<45A41341.6060209@desc.org>
Jonathan Hedstrom wrote:
> Tom Lane wrote:
>> Scott Marlowe <smarlowe@g2switchworks.com> writes:
>>
>>> Also, schedule some maintenance window for your server to run memtest86
>>> and possibly something to check for bad blocks on your drives.
>>>
>> +1 ... I have not seen any instance of "invalid page header" that could
>> be traced to a Postgres bug. The cases I've been able to study all
>> seemed to involve either flaky hardware or kernel-level bugs (such as
>> dumping a fragment of some unrelated file into a Postgres table :-()
>>
>> regards, tom lane
>>
> Since it sounds like this is either a hardware or a kernel issue, we're
> wondering if our downtime would be better spent rebooting to the
> standard FC6 kernel, or trying some of the aforementioned hardware tests...
>
> We are running a xen kernel: 2.6.18-1.2798.fc6xen
This is the base Xen kernel from the FC 6 release. There have been 3
updates released since then (most recently 01-Jan). I see a number of
Xen fixes in the changelog, and I know that the major factor in the
slippage of the FC 6 release was getting Xen into the distro -- so I
would definitely expect some Xen bugs in the initial cut from the release.
Simplest advice I can think of: if you don't need Xen, go back to the
stock (albeit most recent update) kernel. If you do need Xen, try the
most recent update of the stock kernel anyway. If the problems persist,
you've at least eliminated one variable. If they go away, you've got
the culprit.
Note that I don't use Xen, so I'm not completely up-to-date... Last I
knew there were issues preventing Xen from being included in the
upstream Linux kernel (vendors are patching it in individually), and
that speaks volumes as to the "newness" of the technology.
Andrew
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: andrew@sprocks.gotdns.com, jhedstrom@desc.org, tgl@sss.pgh.pa.us, smarlowe@g2switchworks.com, ktanzer@desc.org
Subject: Re: ERROR: invalid memory alloc request size, and others
In-Reply-To: <45A419A0.40901@sprocks.gotdns.com>
References: <45A3EF27.1020300@desc.org> <1168372894.20602.164.camel@state.g2switchworks.com> <10523.1168377845@sss.pgh.pa.us> <45A41341.6060209@desc.org> <45A419A0.40901@sprocks.gotdns.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox