All,

For the the second time both of our SSO servers running under Tomcat ran
out of heap memory last night.  They had been up about 7 days straight
with no restarts.  It looks like they again ran out of memory at about
1GB used (which seems to be the default Java heap size).  We have lots
of memory available on those servers so the last time this happened, we
thought to increase the max heap size to 2GB.  Our research had
indicated that to increase heap memory for a Java app running under
Tomcat you need to add the following line in the Tomcat
CATALINA_HOME/bin/setenv.sh file:

CATALINA_OPTS=-Xms1000m -Xmx2000m

Supposedly according to our research, this increases minimum heap size
to 1000MB and max heap size to 2000MB (just under 1GB and 2GB
respectively).  This is all running under RHEL 6 with Tomcat 7.0.54 and
Oracle Java jdk1.8.0_05.  Is there something we are missing here?  Do we
need to do something to tell Tomcat that it needs to allocate more
memory than the default to the CAS application itself?  The only
applications we are running under Tomcat are the CAS webapp and the CAS
management webapp which is pretty much idle all the time.  We relaod
services using the default 2 minute timer in both CAS and CAS-management.

This is a fairly major issue for us as we are in the middle of our
student registration period and we are seeing huge usage from Blackboard
during the late-night hours (which is perversely when these servers tend
to run out of heap).  People are beginning to take a very jaundiced view
of the supposedly "improved" SSO service that our move from RubyCAS was
supposed to give them.

Dave


-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to