Re: Linux TOP

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Greg Smith <gsmith(at)gregsmith(dot)com>
Cc: Waldomiro <waldomiro(at)shx(dot)com(dot)br>, pgsql-general(at)postgresql(dot)org
Subject: Re: Linux TOP
Date: 2009-10-22 00:31:51
Message-ID: dcc563d10910211731w1cc3a8c1i4f81e6e06437184c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Oct 21, 2009 at 4:25 PM, Greg Smith <gsmith(at)gregsmith(dot)com> wrote:
> On Wed, 21 Oct 2009, Scott Marlowe wrote:
>
>> In this:
>>
>> Mem:  16432240k total, 16344596k used,    87644k free,    27548k buffers
>> Swap: 10241428k total,  3680860k used,  6560568k free,  6230376k cached
>>
>> The 6.2G cached is considered part of the 16G used
>>
>> So it's not using more memory than it has.  It's just the accounting
>> is inobvious.
>
> This is a snapshot.  The fact that 3.7GB of swap is used here suggests there
> may have been more memory used at some point in the past then we're seeing
> now; that's more what I was commenting on.  A look at the si/so figures in
> vmstat should nail down whether that's still going on or not now, as Tom
> already suggested.

Definitely. not arguing the guy doesn't have problems, just that the
way top accounts for memory is rather misleading for most folks.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scott Bailey 2009-10-22 01:05:06 Re: cast numeric with scale and precision to numeric plain
Previous Message Greg Smith 2009-10-21 22:25:27 Re: Linux TOP