-
Notifications
You must be signed in to change notification settings - Fork 402
Troubleshooting
joesondow edited this page Jun 18, 2012
·
20 revisions
Follow the server logs in case of errors:
- apache-tomcat-x/logs/catalina.out
- apache-tomcat-x/logs/asgard.log
If your account contains a large number of cloud objects you might need to increase Asgard’s memory footprint. It’s also advisable to change the JVM garbage collection settings. To do make these changes, create a setenv.sh file in apache-tomcat-x/bin/ similar to the following code block, then restart Tomcat.
if [ "$1" == "start" ]; then
export JAVA_OPTS=" \
-verbose:sizes \
-Xmx4g -Xms4g \
-Xmn2g \
-XX:MaxPermSize=128m \
-XX:+HeapDumpOnOutOfMemoryError \
-XX:-UseGCOverheadLimit \
-XX:+ExplicitGCInvokesConcurrent \
-XX:+PrintGCDateStamps -XX:+PrintGCDetails \
-XX:+PrintTenuringDistribution \
-XX:+CMSClassUnloadingEnabled \
-XX:+UseConcMarkSweepGC \
"
else
export JAVA_OPTS=""
fi
A Netflix Original Production
Tech Blog | Twitter @NetflixOSS | Jobs