pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adam Tauno Williams <adamtaunowilliams@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Re: Linux mis-reporting memory
Date: Thu, 20 Sep 2007 20:22:36 -0400
Message-ID: <1190334156.6835.1.camel@aleph.wmmi.net> (raw)
In-Reply-To: <20070920230400.GM95343@decibel.org>
References: <20070920230400.GM95343@decibel.org>

> Sorry, I know this is probably more a linux question, but I'm guessing
> that others have run into this...
> I'm finding this rather interesting report from top on a Debian box...
> Mem:  32945280k total, 32871832k used,    73448k free,   247432k buffers
> Swap:  1951888k total,    42308k used,  1909580k free, 30294300k cached
> This is a machine that's been up some time and the database is 400G, so
> I'm pretty confident that shared_buffers (set to 8G) should be
> completely full, and that's what that top process is indicating.

Nope,  use "ipcs" to show allocated shared memory segments.

One of the better articles on LINUX & memory management -
http://virtualthreads.blogspot.com/2006/02/understanding-memory-usage-on-linux.html

-- 
Adam Tauno Williams, Network & Systems Administrator
Consultant - http://www.whitemiceconsulting.com
Developer - http://www.opengroupware.org




view thread (16+ messages)  latest in thread

Message-ID: <1190334156.6835.1.camel@aleph.wmmi.net>
Permalink:  ../1190334156.6835.1.camel@aleph.wmmi.net/
Also on:    postgresql.org/message-id/1190334156.6835.1.camel@aleph.wmmi.net

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: adamtaunowilliams@gmail.com
  Subject: Re: Linux mis-reporting memory
  In-Reply-To: <1190334156.6835.1.camel@aleph.wmmi.net>

* 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