System running out of memory periodically, can't find "missing memory"

From: Reed, Judith (JReed@NaviSite.com)
Date: Wed Feb 26 2003 - 08:50:10 EST


Greetings, Tru64 folks.

We have an ES40 with 8GB of memory, 8GB swap, running T64v5.1A.
This system runs a java application that uses about 4GB of memory.
It also serves as a mailserver, and runs a few small miscellaneous
processes. Of late, it has been cycling through periods where
"top" shows it as having 72K of available memory. These periods
tend to last about a minute or so, and it never goes below 72K,
goes just a small amount above sometimes then back down. Then,
it frees up the memory, and tends to run with about 3GB free.

I've been trying to look at the memory use when it drops like that, and
when I do something like: ps -elf -O THREAD -m=20
and add up the RSS values, I only ever come to about 4GB total physical
memory in use.

In general "vmstat" shows paging in (pin) but no paging out (pout) but
during the memory drops it pages out at a rate of about 400/5 seconds.
and
the reactivation value (react) goes upto perhaps 4K.

I've looked for hardware errors, there are none. "top" shows all 8GB as
being out there. The performance tuning manual says that active, free,
and
wired memory shown in "vmstat" should add up to around the total memory,
and
they do, except during the drops in available memory.

Can someone help me find out where my "missing" memory is going during
these lapses, and of course suggestions as to how to dig further into
what
might be going on would be extremely welcome?!

TIA...

Judith Reed
jreed@navisite.com



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:09 EDT