pg.ddx.io pgsql-general@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Scott Marlowe <smarlowe@g2switchworks.com>
To: Jonathan Hedstrom <jhedstrom@desc.org>
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:01:34 -0600
Message-ID: <1168372894.20602.164.camel@state.g2switchworks.com> (raw)
In-Reply-To: <45A3EF27.1020300@desc.org>
References: <45A3EF27.1020300@desc.org>
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.
>
> The problem started with this one, during an update involving a rather
> complex view:
>
> ERROR: invalid memory alloc request size 1174405120
>
> Then, when attempting to re-run the same update statement:
>
> PANIC: cannot abort transaction 8682091, it was already committed
>
> and then again:
>
> PANIC: right sibling's left-link doesn't match
>
>
> I ran reindex on the tables in question, which fixed the problem in the
> short term and allowed the update to complete, but then I got the memory
> allocation error and these overnight:
>
> ERROR: invalid page header in block 3362 of relation
> "index_clin_dal_staff_id"
> ERROR: invalid page header in block 2325 of relation "index_clin_dal_batch"
>
> I will gladly provide additional information to help track down and
> hopefully solve this problem, but at this point I'm not sure what else
> to include.
First step, update to 8.2.1, it came out yesterday, and there were a few
bugs that got stomped. Don't know if they are related to your problem,
but having the latest version is usually a "good thing".
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.
view thread (43+ messages) latest in thread
Message-ID: <1168372894.20602.164.camel@state.g2switchworks.com> Permalink: ../1168372894.20602.164.camel@state.g2switchworks.com/ Also on: postgresql.org/message-id/1168372894.20602.164.camel@state.g2switchworks.com ·
reply
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: smarlowe@g2switchworks.com, jhedstrom@desc.org, ktanzer@desc.org Subject: Re: ERROR: invalid memory alloc request size, and others In-Reply-To: <1168372894.20602.164.camel@state.g2switchworks.com> References: <45A3EF27.1020300@desc.org> <1168372894.20602.164.camel@state.g2switchworks.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