Re: RCA for MemoryContextAlloc: invalid request size(Known Issue)

From: David Fetter <david(at)fetter(dot)org>
To: yogvinder <yogvinder(at)newgen(dot)co(dot)in>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: RCA for MemoryContextAlloc: invalid request size(Known Issue)
Date: 2009-01-07 15:01:45
Message-ID: 20090107150145.GD1475@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Jan 07, 2009 at 06:07:02AM -0800, yogvinder wrote:
>
> Hi All,
>
> I am having multiple postgresql 7.3(pretty old version now) on rhel4
> servers.

Not just "pretty old," but past any community support. You'll need to
build and implement an upgrade strategy along with doing your upgrade.

> I am getting the error MemoryContextAlloc: invalid request size on
> many of these servers from time to time.
>
> On crawling through net, I have found that its because of some bad
> word value in a variable length field which implies database
> corruption. A possible solution to recover database is by deleting
> the corrupted row and then continuing till all the bad rows are
> deleted.
>
> My Queries: 1) What is the root cause? Why database is getting
> corrupted.

The root cause is that whoever was responsible for this cluster failed
to upgrade to a supported version. Don't Do That Again :)

Cheers,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message hubert depesz lubaczewski 2009-01-07 15:53:09 Re: explain
Previous Message Richard Huxton 2009-01-07 14:59:50 Re: RCA for MemoryContextAlloc: invalid request size(Known Issue)