Skip to content

Commit

Permalink
Improves stability. (apache#2241)
Browse files Browse the repository at this point in the history
  • Loading branch information
JaredTan95 authored and hanahmily committed Feb 13, 2019
1 parent 450eb2a commit 73f49ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docker/oap/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ do
CLASSPATH="$i:$CLASSPATH"
done

exec java ${JAVA_OPTS} -classpath $CLASSPATH \
org.apache.skywalking.oap.server.starter.OAPServerStartUp "$@"
exec java -XX:+PrintFlagsFinal -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap \
${JAVA_OPTS} -classpath $CLASSPATH org.apache.skywalking.oap.server.starter.OAPServerStartUp "$@"
3 changes: 2 additions & 1 deletion docker/ui/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@

set -ex

exec java -jar webapp/skywalking-webapp.jar --logging.config=webapp/logback.xml "$@"
exec java -XX:+PrintFlagsFinal -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap \
-jar webapp/skywalking-webapp.jar --logging.config=webapp/logback.xml "$@"

0 comments on commit 73f49ce

Please sign in to comment.