pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: mcelroy, tim <tim.mcelroy@bostonstock.com>
To: Michael Stone <mstone+postgres@mathom.us>
To: pgsql-performance@postgresql.org
Subject: Re: Memory and/or cache issues?
Date: Fri, 5 May 2006 10:27:10 -0400
Message-ID: <0C4841B42F87D51195BD00B0D020F5CB044B2611@MORPHEUS> (raw)

Sorry, been up all night and maybe provided too much information or not the
right information and only confused folks, tired I guess.  When I say 'in
use' I am referring to the 'used' column.  Thanks all who have responded to
this inquiry, I appreciate it. 

Here's free from PROD001:
[root@wbibsngwyprod001 kernel]# free -k -t
             total       used       free     shared    buffers     cached
Mem:       7643536    6975772     667764          0     165496    5393396
-/+ buffers/cache:    1416880    6226656
Swap:      8185108       5208    8179900
Total:    15828644    6980980    8847664

Here's free from PROD002:
[root@wbibsngwyprod002 root]# free -k -t
             total       used       free     shared    buffers     cached
Mem:       7643536    6694220     949316          0     161008    4916420
-/+ buffers/cache:    1616792    6026744
Swap:      8185108      11584    8173524
Total:    15828644    6705804    9122840

Tim

 -----Original Message-----
From: 	pgsql-performance-owner@postgresql.org
[mailto:pgsql-performance-owner@postgresql.org]  On Behalf Of Michael Stone
Sent:	Friday, May 05, 2006 10:24 AM
To:	pgsql-performance@postgresql.org
Subject:	Re: [PERFORM] Memory and/or cache issues?

On Fri, May 05, 2006 at 09:57:58AM -0400, mcelroy, tim wrote:
>Are you saying the kernel's disc cache may be getting whacked?  No, I
>understand that PG should use as much memory as it can and the system as
>well.  The main problem here is that with almost all the 8GB of RAM 'in
use'
>when I try to do a pg_dump or vacuumdb I run out of memory and the system
>crashes....

You need to be way more specific about what "in use" means. Try pasting 
the output of actual commands like "free". The main problem here 
according to the output you sent is that your process is trying to 
allocate 10billion terabytes of RAM (which ain't gonna work) and dies. 
That is not a memory issue.

Mike Stone

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to majordomo@postgresql.org so that your
       message can get through to the mailing list cleanly

view thread (27+ messages)  latest in thread

Message-ID: <0C4841B42F87D51195BD00B0D020F5CB044B2611@MORPHEUS>
Permalink:  ../0C4841B42F87D51195BD00B0D020F5CB044B2611@MORPHEUS/
Also on:    postgresql.org/message-id/0C4841B42F87D51195BD00B0D020F5CB044B2611@MORPHEUS

 · 

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-performance@postgresql.org
  Cc: tim.mcelroy@bostonstock.com, mstone+postgres@mathom.us
  Subject: Re: Memory and/or cache issues?
  In-Reply-To: <0C4841B42F87D51195BD00B0D020F5CB044B2611@MORPHEUS>
  References: <0C4841B42F87D51195BD00B0D020F5CB044B2611@MORPHEUS>

* 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