You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Noel J. Bergman" <no...@devtech.com> on 2002/10/31 00:41:23 UTC

memory, memory, who's got the memory

Folks,

I am trying to find out what is happening to some memory.  Let me explain.
The test is running James with Sun JVM 1.4.1 on RH 6.2 (2.2.17-14) with
mysql 3.23.42.

When I run free the first time, james and mysql are loaded, but have not
run.  Then I start running Russell Coker's postal test, and take period
checks.  I have removed all the first and last.  Next, I stop postal, wait a
few minutes, and take another look.  Next I shutdown james, and check the
memory.  Finally I stop mysql, restart both mysql and james, and compare
that memory (from cleanly having shutdown both james and mysql), with the
original values from the system.

As best I can tell, free memory is still not being recovered.  TOP doesn't
show it as being held by any particular process.  So where is it?  What am I
missing (other than memory)?  :-)

	--- Noel

----------------- james already loaded

$ free
             total       used       free     shared    buffers     cached
Mem:        257576     175256      82320     150920       5232      57240
-/+ buffers/cache:     112784     144792
Swap:       265032          0     265032

----------------- start postal

$ free
             total       used       free     shared    buffers     cached
Mem:        257576     184180      73396     151060       5552      57292
-/+ buffers/cache:     121336     136240
Swap:       265032          0     265032
$ free
             total       used       free     shared    buffers     cached
Mem:        257576     220260      37316     152452      18532      57336
-/+ buffers/cache:     144392     113184
Swap:       265032          0     265032

----------------- stop postal

$ date && free
Wed Oct 30 18:07:57 EST 2002
             total       used       free     shared    buffers     cached
Mem:        257576     220368      37208     152452      18576      57320
-/+ buffers/cache:     144472     113104
Swap:       265032          0     265032

----------------- stop james

$ date && free
Wed Oct 30 18:09:14 EST 2002
             total       used       free     shared    buffers     cached
Mem:        257576     190008      67568     142352      18576      57320
-/+ buffers/cache:     114112     143464
Swap:       265032          0     265032

----------------- restart mysql and james

$ date && free
Wed Oct 30 18:13:45 EST 2002
             total       used       free     shared    buffers     cached
Mem:        257576     206512      51064     152308      18600      57340
-/+ buffers/cache:     130572     127004
Swap:       265032          0     265032

----------------- original james

$ free
             total       used       free     shared    buffers     cached
Mem:        257576     175256      82320     150920       5232      57240
-/+ buffers/cache:     112784     144792
Swap:       265032          0     265032


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>