jpori
30-08-2011, 21:59
http://java-monitor.com/postedimages/eb111f3e-4656-4c14-8c30-e90e922fa5da.png
Hi,
I have relatively small grails application on tomcat running nicely until now. For some reason it has started to consume more memory, but I have profiled the app in local dev and in test env, it works fine.
Major difference is that the production has session replication enabled(between 2 tomcats)
For some reason I think it's related to session, but not sure how to check the session(s) size or count from tomcat.
Here area configs:
JAVA_OPTS="${JAVA_OPTS} -server -Xms2G -Xmx3G -XX:PermSize=512m -XX:MaxPermSize=1024m -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC "
JAVA_OPTS="${JAVA_OPTS} -XX:+UseParNewGC -XX:+CMSParallelRemarkEnabled -XX:MaxNewSize=256m -XX:NewSize=128m "
JAVA_OPTS="${JAVA_OPTS} -XX:+DisableExplicitGC -Djava.net.preferIPv4Stack=true"
java: Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
os: ubuntu 10.04(64)
tomcat: 6.0.30
Hi,
I have relatively small grails application on tomcat running nicely until now. For some reason it has started to consume more memory, but I have profiled the app in local dev and in test env, it works fine.
Major difference is that the production has session replication enabled(between 2 tomcats)
For some reason I think it's related to session, but not sure how to check the session(s) size or count from tomcat.
Here area configs:
JAVA_OPTS="${JAVA_OPTS} -server -Xms2G -Xmx3G -XX:PermSize=512m -XX:MaxPermSize=1024m -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC "
JAVA_OPTS="${JAVA_OPTS} -XX:+UseParNewGC -XX:+CMSParallelRemarkEnabled -XX:MaxNewSize=256m -XX:NewSize=128m "
JAVA_OPTS="${JAVA_OPTS} -XX:+DisableExplicitGC -Djava.net.preferIPv4Stack=true"
java: Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
os: ubuntu 10.04(64)
tomcat: 6.0.30