Unix Technical Forum

Re: Memory and/or cache issues?

This is a discussion on Re: Memory and/or cache issues? within the Pgsql Performance forums, part of the PostgreSQL category; --> Thanks Tom. I thought the same thing and waded through the archives trying various fixes such as vacuum, vacuum ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql Performance

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 08:44 AM
mcelroy, tim
 
Posts: n/a
Default Re: 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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-19-2008, 08:44 AM
Tom Lane
 
Posts: n/a
Default Re: Memory and/or cache issues?

"mcelroy, tim" <tim.mcelroy@bostonstock.com> writes:
> 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?


Probably kernel disk cache. Are you under the misimpression that unused
memory is a good thing? If a Unix-ish system *isn't* showing near zero
free memory under load, the kernel is wasting valuable resources.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:08 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com