Re: Linux mis-reporting memory

From: Adam Tauno Williams <adamtaunowilliams(at)gmail(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Linux mis-reporting memory
Date: 2007-09-21 00:22:36
Message-ID: 1190334156.6835.1.camel@aleph.wmmi.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

> 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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Scott Marlowe 2007-09-21 00:52:52 Re: Upgraded from 7.4 to 8.1.4 QUERIES NOW SLOW!!!
Previous Message smiley2211 2007-09-20 23:25:43 Re: Upgraded from 7.4 to 8.1.4 QUERIES NOW SLOW!!!