X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id BD5259FA509 for ; Fri, 5 May 2006 10:31:45 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 37970-06 for ; Fri, 5 May 2006 10:31:37 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from morpheus.bostonstock.com (unknown [192.233.205.44]) by postgresql.org (Postfix) with ESMTP id 360AE9FB1C1 for ; Fri, 5 May 2006 10:31:36 -0300 (ADT) Received: by MORPHEUS with Internet Mail Service (5.5.2653.19) id <2R02CBD2>; Fri, 5 May 2006 09:26:43 -0400 Message-ID: <0C4841B42F87D51195BD00B0D020F5CB044B260B@MORPHEUS> From: "mcelroy, tim" To: 'Tom Lane' Cc: pgsql-performance@postgresql.org Subject: Re: Memory and/or cache issues? Date: Fri, 5 May 2006 09:26:34 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C67047.8779C532" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/107 X-Sequence-Number: 18894 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C67047.8779C532 Content-Type: text/plain; charset="iso-8859-1" Thanks Tom. I thought the same thing and waded through the archives trying various fixes such as vacuum, vacuum full (both with analyze), reindex and still the same issue. However, once the box was rebooted the backup went smooth and the data was fine. We have two (2) machines (PROD001 & PROD002) that are "in-sync" and the data matched exactly. PROD002 was where I had the problem. I see this on all the postgres installations, no matter what I set the postgresql.conf settings to regarding memory allocation, once postgres starts up 95% of the memory on the box is used. Is there a way within Linux to 'see' what or who is actually using this memory? I would love to say it's a hardware thing and that postgres is fine :) Regards, Tim -----Original Message----- From: Tom Lane [mailto:tgl@sss.pgh.pa.us] Sent: Friday, May 05, 2006 9:25 AM To: mcelroy, tim Cc: pgsql-performance@postgresql.org Subject: Re: [PERFORM] Memory and/or cache issues? "mcelroy, tim" writes: > pg_dump: ERROR: invalid memory alloc request size 18446744073709551613 That looks more like a corrupt-data problem than anything directly to do with having or not having enough memory. regards, tom lane ------_=_NextPart_001_01C67047.8779C532 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: [PERFORM] Memory and/or cache issues?

Thanks Tom.  I thought the same thing and waded = through the archives trying various fixes such as vacuum, vacuum full = (both with analyze), reindex and still the same issue.  However, = once the box was rebooted the backup went smooth and the data was = fine.  We have two (2) machines (PROD001 & PROD002) that are = "in-sync" and the data matched exactly.  PROD002 was = where I had the problem.  I see this on all the postgres = installations, no matter what I set the postgresql.conf settings to = regarding memory allocation, once postgres starts up 95% of the memory = on the box is used.  Is there a way within Linux to 'see' what or = who is actually using this memory?  I would love to say it's a = hardware thing and that postgres is fine :)

Regards,
Tim

 -----Original Message-----
From:   Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent:   Friday, May 05, 2006 9:25 = AM
To:     mcelroy, tim
Cc:     = pgsql-performance@postgresql.org
Subject:        = Re: [PERFORM] Memory and/or cache issues?

"mcelroy, tim" = <tim.mcelroy@bostonstock.com> writes:
> pg_dump: ERROR:  invalid memory alloc = request size 18446744073709551613

That looks more like a corrupt-data problem than = anything directly to do
with having or not having enough memory.

        =         =         regards, tom = lane

------_=_NextPart_001_01C67047.8779C532--