I have been using this setup within our VMware environment without any problems.
$ cat bin/setenv.sh export JAVA_HOME=/u01/app/badm/apps/java/jdk1.8.0_152 export CATALINA_HOME=/u01/app/badm/apps/dev/apache-tomcat-8-auth export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/apr/lib" export JAVA_OPTS="$JAVA_OPTS -Dcatalina.home=$CATALINA_HOME" JAVA_OPTS="$JAVA_OPTS -server -d64 -Xms2048m -Xmx2048m" JAVA_OPTS="$JAVA_OPTS -XX:NewSize=768m -XX:MaxNewSize=768m" JAVA_OPTS="$JAVA_OPTS -XX:MetaspaceSize=768m -XX:MaxMetaspaceSize=1024m" JAVA_OPTS="$JAVA_OPTS -XX:SurvivorRatio=12 -XX:MaxTenuringThreshold=0" JAVA_OPTS="$JAVA_OPTS -XX:+UseConcMarkSweepGC -XX:+DisableExplicitGC" JAVA_OPTS="$JAVA_OPTS -XX:+UseParNewGC -XX:+UseTLAB" JAVA_OPTS="$JAVA_OPTS -Djava.awt.headless=true" JAVA_OPTS="$JAVA_OPTS -Djava.security.egd=file:/dev/./urandom" JAVA_OPTS="$JAVA_OPTS -Djava.library.path=$CATALINA_HOME/lib" JAVA_OPTS="$JAVA_OPTS -Dcatalina.home=$CATALINA_HOME" JAVA_OPTS="$JAVA_OPTS -Dlocal.logs=$CATALINA_HOME/logs" JAVA_OPTS="$JAVA_OPTS -Dcas.log.dir=$CATALINA_HOME/logs" JAVA_OPTS="$JAVA_OPTS -Dcas.standalone.config=/etc/cas/5/dev516" rm -rf $CATALINA_HOME/logs/* >/dev/null 2>&1 -Jeff On Wed, Dec 20, 2017 at 9:35 PM, William E. <[email protected]> wrote: > RHEL 7, 8GB ram, swap is 4GB. It's a VM in our vSphere cluster+SAN. I > actually have three, two PROD nodes behind a load balancer and one test > node. All have same specs and all show the issue. Steadily chews up > memory until eventual crash, 1-6 hours depending on load. > > The asme servers were running cas 3.6 . + shibboleth 3.3.x for quite a > while without memory issues. Upgraded and tried to consolidate to just cas > 5, using it's saml2 capabilities to replace the shibboleth component. But, > it's not going as well as I had hoped. > > Been working with Unicon Support on it, but it appears to be a memory leak > in cas 5.2, based on heap analysis. So I am kinda of stuck. > > Thanks for your help! > > > > On Wednesday, December 20, 2017 at 6:49:39 PM UTC-6, Martin Bohun wrote: >> >> What is your: >> 1. operation system >> 2. how much RAM do you have >> 3. how much swap do you have >> >> if you are on Linux you can do: >> 1. uname -a >> 2-3. free -m >> >> and post the output here >> >> regards, >> >> martin >> >> On Thursday, December 21, 2017 at 11:00:30 AM UTC+11, William E. wrote: >>> >>> Does anyone have any recommendations for CATALINA_OPTS for cas 5.x on >>> tomcat 8? >>> >>> I am finding that our setup steadily eats up memory to the point that it >>> eventually crashes from out of memory and has to be restarted. >>> >>> Current settings: >>> >>> CATALINA_OPTS="-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server >>> -Xms1g -Xmx6g -XX:-UseGCOverheadLimit -XX:+UseConcMarkSweepGC >>> -XX:-UseCompressedOops" >>> >>> JAVA_OPTS=$CATALINA_OPTS >>> >>> >>> Thanks, >>> William >>> >>> -- > - Website: https://apereo.github.io/cas > - Gitter Chatroom: https://gitter.im/apereo/cas > - List Guidelines: https://goo.gl/1VRrw7 > - Contributions: https://goo.gl/mh7qDG > --- > You received this message because you are subscribed to the Google Groups > "CAS Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/a/ > apereo.org/d/msgid/cas-user/bfe6c835-bf1e-4f24-b507- > 025d7c0e3172%40apereo.org > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/bfe6c835-bf1e-4f24-b507-025d7c0e3172%40apereo.org?utm_medium=email&utm_source=footer> > . > -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2BTBYOQh71%3DMLiGxQMqOcFQugR_%3D6ASv75Mx%3DGWXdY%2BnE%3DTkWA%40mail.gmail.com.
