Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 8D6FB9FB255 for ; Tue, 9 Jan 2007 18:42:43 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 57101-10 for ; Tue, 9 Jan 2007 18:42:32 -0400 (AST) X-Greylist: delayed 00:26:12.719709 by SQLgrey-1.7.4 Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id DB5689FA4D1 for ; Tue, 9 Jan 2007 18:42:31 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from sprocks.id10ts.net (pub-65-174-104-230-miniracer.isunet.net [65.174.104.230]) by svr4.postgresql.org (Postfix) with ESMTP id 1FF8A5AF89D for ; Tue, 9 Jan 2007 22:16:17 +0000 (GMT) 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 l09MG3A5014048; Tue, 9 Jan 2007 16:16:03 -0600 Message-ID: <45A41422.9080207@sprocks.gotdns.com> Date: Tue, 09 Jan 2007 16:16:02 -0600 From: Andrew Kroeger User-Agent: Thunderbird 1.5.0.9 (X11/20061219) MIME-Version: 1.0 To: Jonathan Hedstrom Cc: pgsql general , Scott Marlowe , Ken Tanzer Subject: Re: ERROR: invalid memory alloc request size, and others References: <45A3EF27.1020300@desc.org> <1168372894.20602.164.camel@state.g2switchworks.com> <45A40577.7030701@desc.org> In-Reply-To: <45A40577.7030701@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/448 X-Sequence-Number: 106988 Jonathan Hedstrom wrote: > Scott Marlowe wrote: >> On Tue, 2007-01-09 at 13:38, Jonathan Hedstrom wrote: >> >>> We recently upgraded from 8.1.4 to 8.2.0 on Fedora Core 6, and are now >>> seeing a few rather ominous-looking messages. [ SNIP ] >> Also, schedule some maintenance window for your server to run memtest86 >> and possibly something to check for bad blocks on your drives. Often >> errors like the invalid memory alloc request size you're seeing, and the >> link doesn't match one are caused by bad hardware. > > I'll try to run these tests soon, but this is a production server, so > scheduling downtime takes a bit of planning. I should also mention that > this is the exact same server we've been running 8.1.4 on for about 6 > months without a problem (doing the same nightly update causing the > problem etc), so I'm a bit skeptical about having suddenly developed > hardware issues. Not having experienced any of the above issues myself, the following are totally off-the-cuff: You indicated you are now running Fedora Core 6, and that your previous 8.1.4 configuration was running for ~6 months prior to upgrading. I assume that because it is a production server, the FC 6 upgrade was performed at the same time as the 8.2 upgrade. You indicated that you're running on the exact same hardware as before, so unless you opened the machine, relocated it, etc. as part of the upgrade, hardware issues would seem unlikely. FC 6 brings a number of changes to the table -- the biggest one being the 2.6.18 Linux kernel. The 2.6.18 kernel updates were released for FC 5 in the middle of October, but as you are talking about a production server, I would imagine you did not upgrade at that time. Have you applied all current FC 6 updates? I definitely recommend making sure you are current with all updates. A quick check shows that FC 6 has released almost as many package updates as since its release as FC 5 has since it was released (6 months more time). I know there were a number of issues that were queued up and released right after the FC 6 release, to avoid slipping the release date any further than it had already slipped. If you can't attribute the issues to any software problems, I would definitely start looking at the hardware, as Scott & Tom suggested. As unlikely as hardware issues might seem, that seems to be the most frequent time those little buggers manage to show their teeth :^) Hope this helps... Andrew