Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Linux Memory Accounting

Re: Linux Memory Accounting

From: Jared Still <jkstill_at_gmail.com>
Date: Mon, 2 Oct 2006 14:45:30 -0700
Message-ID: <bf46380610021445v5075c0efjc86084ccd776de06@mail.gmail.com>


Do you have a script/process that does that?

I'm not into reinventing the wheel here if I can avoid it.

Would be sweet if linux actually knew how to properly account for its memory.

Jared

On 10/2/06, Thomas A. La Porte <tlaporte_at_anim.dreamworks.com> wrote:
>
> Isn't the overage related to shared memory?
>
> I.e. the RSS for any one process includes *all* of the shared
> memory used by that process. And so when four processes share a
> 1GB memory segment, the sum of RSS == 4GB, while physical memory
> used is actually only 1GB?
>
> -- Tom
>
> On Mon, 2 Oct 2006, Jared Still wrote:
>
> > Thanks, though I think you knew what I meant. :)
> >
> > To be more precise in what I am asking:
> > --------------------------------------
> >
> > According to the ps man page:
> >
> > rss RSS resident set size, the non-swapped physical
> > memory that a task has used (in kiloBytes).
> > (alias rssize, rsz).
> >
> > What's interesting is that summing RSS for all Oracle processes
> > on the server in question (RH ES 4 64 Bit) yield 25 gig of RAM.
> >
> > The server has only 12 gig of RAM.
> >
> > Here's the ps command:
> >
> > ps -fywluoracle | awk '{ mem=mem+$8 } END{ mem=mem*1024; print "bytes:
> ",
> > mem}'
> >
> > My question is: Does someone here know what is really being reported by
> > RSS?
> >
> > Or is it just untrustworthy?
> >
> >
>

-- 
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Oct 02 2006 - 16:45:30 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US