Re: Linux TOP

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
Cc: Greg Smith <gsmith(at)gregsmith(dot)com>, Waldomiro <waldomiro(at)shx(dot)com(dot)br>, pgsql-general(at)postgresql(dot)org
Subject: Re: Linux TOP
Date: 2009-10-21 22:15:26
Message-ID: 20101.1256163326@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> writes:
> 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.

Right, but it still appears that there's something close to 14G of
actual memory use (exclusive of kernel disk buffers). If that's
the true requirement of the set of processes being run, 16G of RAM
is pretty darn marginal, and he should go buy more. But first it
would be prudent to find out where the memory is going. Also, one
thing I'd do immediately is to watch "vmstat 1" for awhile to see if
there's a lot of swap activity. If that's where the I/O is going,
it'd be another signal that memory pressure is the real issue.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Greg Smith 2009-10-21 22:25:27 Re: Linux TOP
Previous Message Greg Smith 2009-10-21 22:01:38 Re: Linux TOP