Running 4 balanced nodes of tomcat 9.0.52 in Linux.

While running with production load, memory usage is slowly growing, it
does not appear to really drop unless the OS/tomcat is restarted.

I did a load test locally with just login actions, did a heap dump,
and MAT says:

One instance of org.apache.catalina.session.StandardManager loaded by
sun.misc.Launcher$AppClassLoader @ 0x9978028 occupies 59,628,760
(57.09%) bytes. The memory is accumulated in one instance of
java.util.concurrent.ConcurrentHashMap$Node[], loaded by <system class
loader>, which occupies 59,615,224 (57.07%) bytes.

My session timeout is set to 15 minutes... I set just a name and
userId in the session object in our single application running on
these servers.  Not sure how else to troubleshoot and/or resolve this
from reaching the heap max.

Are there settings to change in order to get these sessions removed
from heap?  Does GC occur out of the box with tomcat or do I need to
define that in order for it to happen?

Thanks,
Tim

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to