From: Jonathan Hedstrom <jhedstrom@desc.org>
To: 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 14:12:17 -0800
Message-ID: <45A41341.6060209@desc.org> (raw)
In-Reply-To: <10523.1168377845@sss.pgh.pa.us>
References: <45A3EF27.1020300@desc.org>
<1168372894.20602.164.camel@state.g2switchworks.com>
<10523.1168377845@sss.pgh.pa.us>
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
and getting these kernel errors in our logs:
Jan 7 18:51:23 ws116 kernel: SKB BUG: Invalid truesize (4012)
len=16384, sizeof(sk_buff)=172
Jan 7 18:51:23 ws116 kernel: SKB BUG: Invalid truesize (4012)
len=16384, sizeof(sk_buff)=172
Jan 9 08:52:12 ws116 kernel: SKB BUG: Invalid truesize (4012)
len=16384, sizeof(sk_buff)=172
Jan 9 13:07:35 ws116 kernel: SKB BUG: Invalid truesize (4012)
len=16384, sizeof(sk_buff)=172
(The memory alloc error first occured early in the morning on the 8th).
Thanks,
Jonathan
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: 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: <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>
* 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