[Glass] Understanding temp memory used seaside gems and 'ps' output

Mariano Martinez Peck via Glass glass at lists.gemtalksystems.com
Fri Jun 19 13:22:51 PDT 2015


Hi guys,

I run this command on my server $  ps -e -o pid,rss,comm= | sort -n -k 2

And processes used the most memory (are at the very end of the above
script) are topaz processes:

26570 569256 topaz
26537 617288 topaz
 2560 622048 topaz
 2132 635224 gem
26603 669584 topaz
 2564 726456 topaz
 1865 731244 pgsvrmain
 2563 786204 topaz
 2895 939380 gem
 2869 955488 pgsvrmain

Of course, those PIDs (2563, 2564 etc) are exactly those of my seaside gems.
786204 KB (pid 2563) is around 786.204MB.

$ ps -fea | grep 2563

myuser  2563     1  0 Jun15 ?        00:03:42
/opt/gemstone/product/bin/topaz -l -e
/opt/gemstone/product/seaside/etc/seaside30.conf -I
/xxx/sites/yyy/gemstone/.topazini

Note that in /opt/gemstone/product/seaside/etc/seaside30.conf I define:

GEM_TEMPOBJ_CACHE_SIZE = 700000;

*So.. first question is why process 2563 is showing more than 700MB (786MB
in this case).*

Anyway...if I go and cycle over each of my seaside gems and I print the
results of *"System _tempObjSpacePercentUsed" for each gem, I usually get
between 5% and 20%*, which would mean between 35MB to 140MB. This is FAR
from 786MB reported by PS.  So.... I am misunderstanding something?

yes...my OS is having little memory free and I am trying to see if I am not
holding unnecessary memory...

 Thanks in advance for any clarification.


-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20150619/9e1b5d00/attachment.html>


More information about the Glass mailing list