Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id E374E9FA304 for ; Tue, 9 Jan 2007 18:40:02 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 06504-01 for ; Tue, 9 Jan 2007 18:39:53 -0400 (AST) X-Greylist: delayed 00:23:44.003909 by SQLgrey-1.7.4 Received: from sprocks.id10ts.net (pub-65-174-104-230-miniracer.isunet.net [65.174.104.230]) by postgresql.org (Postfix) with ESMTP id 35F159F9FDA for ; Tue, 9 Jan 2007 18:39:56 -0400 (AST) Received: from [192.168.5.10] (amd64.internal.id10ts.net [192.168.5.10]) by sprocks.id10ts.net (8.13.8/8.13.8) with ESMTP id l09MdSq6014246; Tue, 9 Jan 2007 16:39:33 -0600 Message-ID: <45A419A0.40901@sprocks.gotdns.com> Date: Tue, 09 Jan 2007 16:39:28 -0600 From: Andrew Kroeger User-Agent: Thunderbird 1.5.0.9 (X11/20061219) MIME-Version: 1.0 To: Jonathan Hedstrom CC: Tom Lane , Scott Marlowe , pgsql general , Ken Tanzer Subject: Re: ERROR: invalid memory alloc request size, and others References: <45A3EF27.1020300@desc.org> <1168372894.20602.164.camel@state.g2switchworks.com> <10523.1168377845@sss.pgh.pa.us> <45A41341.6060209@desc.org> In-Reply-To: <45A41341.6060209@desc.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.7/2430/Tue Jan 9 11:35:51 2007 on sprocks.id10ts.net X-Virus-Status: Clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/446 X-Sequence-Number: 106986 Jonathan Hedstrom wrote: > Tom Lane wrote: >> Scott Marlowe 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