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

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: RCA for MemoryContextAlloc: invalid request size(Known Issue)
Дата
Msg-id 20090107150145.GD1475@fetter.org
обсуждение исходный текст
Ответ на RCA for MemoryContextAlloc: invalid request size(Known Issue)  (yogvinder <yogvinder@newgen.co.in>)
Ответы Re: RCA for MemoryContextAlloc: invalid request size(Known Issue)
Список 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@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com

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

В списке pgsql-general по дате отправления:

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: RCA for MemoryContextAlloc: invalid request size(Known Issue)
Следующее
От: Gustavo Rosso
Дата:
Сообщение: explain