Q: where has all the memory gone?

From: Ian 'Ivo' Veach <ivo_at_scsr.nevada.edu>
Date: Fri, 20 Oct 2000 10:48:18 -0700 (PDT)

Greetings -

I've got an AlphaServer 1000A, that is running 4.0F. It has 576M of
memory, and is primarily running Apache + support (perl / PHP / cronolog /
cgiwrap / etc) + multiple WebCT instances + a couple java based
applications.

In running 'top' to casually note heavy processes and load, I've noticed
that the "Free" memory reported tends to vary wildly. That is, sometimes
it has been 230MB free, sometimes it has been 37MB free (as it is now).
That would lead me to believe that there is one or more processes taking
up all that memory. But if I use 'ps aux' I cannot see anything remotely
definitive of where the memory is actually being used. Although I've seen
a general trend of decreasing memory, it has also gone back up.

So, my question is, is there a better way to tell what is going on? The
only thing I've found so far is vmstat, which is a little cryptic (time to
crack open the man page I guess) and doesn't seem to report memory usage
by process. Is top lying? Is there a memory leak (and how would I find
that)? Any pointers to get me started would be appreciated. Thanks in
advance!!

ivo
elric_at_nevada.edu
Received on Fri Oct 20 2000 - 17:50:06 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT