File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
apollo-adminservice/src/main/scripts
apollo-configservice/src/main/scripts
apollo-portal/src/main/scripts
scripts/apollo-on-kubernetes
apollo-admin-server/scripts
apollo-config-server/scripts
apollo-portal-server/scripts Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ mkdir -p $LOG_DIR
15
15
# export JAVA_OPTS="$JAVA_OPTS -server -XX:-ReduceInitialCardMarks"
16
16
17
17
# ########## The following is the same for configservice, adminservice, portal ###########
18
- export JAVA_OPTS=" $JAVA_OPTS -XX:ParallelGCThreads=4 -XX:MaxTenuringThreshold=9 -XX:+DisableExplicitGC -XX:+ScavengeBeforeFullGC -XX:SoftRefLRUPolicyMSPerMB=0 -XX:+ExplicitGCInvokesConcurrent -XX:+PrintGCDetails -XX:+ HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Duser.timezone=Asia/Shanghai -Dclient.encoding.override=UTF-8 -Dfile.encoding=UTF-8 -Djava.security.egd=file:/dev/./urandom"
18
+ export JAVA_OPTS=" $JAVA_OPTS -XX:ParallelGCThreads=4 -XX:MaxTenuringThreshold=9 -XX:+DisableExplicitGC -XX:+ScavengeBeforeFullGC -XX:SoftRefLRUPolicyMSPerMB=0 -XX:+ExplicitGCInvokesConcurrent -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Duser.timezone=Asia/Shanghai -Dclient.encoding.override=UTF-8 -Dfile.encoding=UTF-8 -Djava.security.egd=file:/dev/./urandom"
19
19
export JAVA_OPTS=" $JAVA_OPTS -Dserver.port=$SERVER_PORT -Dlogging.file=$LOG_DIR /$SERVICE_NAME .log -XX:HeapDumpPath=$LOG_DIR /HeapDumpOnOutOfMemoryError/"
20
20
21
21
PATH_TO_JAR=$SERVICE_NAME " .jar"
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ mkdir -p $LOG_DIR
15
15
# export JAVA_OPTS="$JAVA_OPTS -server -XX:-ReduceInitialCardMarks"
16
16
17
17
# ########## The following is the same for configservice, adminservice, portal ###########
18
- export JAVA_OPTS=" $JAVA_OPTS -XX:ParallelGCThreads=4 -XX:MaxTenuringThreshold=9 -XX:+DisableExplicitGC -XX:+ScavengeBeforeFullGC -XX:SoftRefLRUPolicyMSPerMB=0 -XX:+ExplicitGCInvokesConcurrent -XX:+PrintGCDetails -XX:+ HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Duser.timezone=Asia/Shanghai -Dclient.encoding.override=UTF-8 -Dfile.encoding=UTF-8 -Djava.security.egd=file:/dev/./urandom"
18
+ export JAVA_OPTS=" $JAVA_OPTS -XX:ParallelGCThreads=4 -XX:MaxTenuringThreshold=9 -XX:+DisableExplicitGC -XX:+ScavengeBeforeFullGC -XX:SoftRefLRUPolicyMSPerMB=0 -XX:+ExplicitGCInvokesConcurrent -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Duser.timezone=Asia/Shanghai -Dclient.encoding.override=UTF-8 -Dfile.encoding=UTF-8 -Djava.security.egd=file:/dev/./urandom"
19
19
export JAVA_OPTS=" $JAVA_OPTS -Dserver.port=$SERVER_PORT -Dlogging.file=$LOG_DIR /$SERVICE_NAME .log -XX:HeapDumpPath=$LOG_DIR /HeapDumpOnOutOfMemoryError/"
20
20
21
21
PATH_TO_JAR=$SERVICE_NAME " .jar"
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ mkdir -p $LOG_DIR
15
15
# export JAVA_OPTS="$JAVA_OPTS -server -XX:-ReduceInitialCardMarks"
16
16
17
17
# ########## The following is the same for configservice, adminservice, portal ###########
18
- export JAVA_OPTS=" $JAVA_OPTS -XX:ParallelGCThreads=4 -XX:MaxTenuringThreshold=9 -XX:+DisableExplicitGC -XX:+ScavengeBeforeFullGC -XX:SoftRefLRUPolicyMSPerMB=0 -XX:+ExplicitGCInvokesConcurrent -XX:+PrintGCDetails -XX:+ HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Duser.timezone=Asia/Shanghai -Dclient.encoding.override=UTF-8 -Dfile.encoding=UTF-8 -Djava.security.egd=file:/dev/./urandom"
18
+ export JAVA_OPTS=" $JAVA_OPTS -XX:ParallelGCThreads=4 -XX:MaxTenuringThreshold=9 -XX:+DisableExplicitGC -XX:+ScavengeBeforeFullGC -XX:SoftRefLRUPolicyMSPerMB=0 -XX:+ExplicitGCInvokesConcurrent -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Duser.timezone=Asia/Shanghai -Dclient.encoding.override=UTF-8 -Dfile.encoding=UTF-8 -Djava.security.egd=file:/dev/./urandom"
19
19
export JAVA_OPTS=" $JAVA_OPTS -Dserver.port=$SERVER_PORT -Dlogging.file=$LOG_DIR /$SERVICE_NAME .log -XX:HeapDumpPath=$LOG_DIR /HeapDumpOnOutOfMemoryError/"
20
20
21
21
PATH_TO_JAR=$SERVICE_NAME " .jar"
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ SERVER_URL="http://${APOLLO_ADMIN_SERVICE_NAME}:${SERVER_PORT}"
15
15
# export JAVA_OPTS="$JAVA_OPTS -server -XX:-ReduceInitialCardMarks"
16
16
17
17
# ########## The following is the same for configservice, adminservice, portal ###########
18
- export JAVA_OPTS=" $JAVA_OPTS -XX:ParallelGCThreads=4 -XX:MaxTenuringThreshold=9 -XX:+DisableExplicitGC -XX:+ScavengeBeforeFullGC -XX:SoftRefLRUPolicyMSPerMB=0 -XX:+ExplicitGCInvokesConcurrent -XX:+PrintGCDetails -XX:+ HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Duser.timezone=Asia/Shanghai -Dclient.encoding.override=UTF-8 -Dfile.encoding=UTF-8 -Djava.security.egd=file:/dev/./urandom"
18
+ export JAVA_OPTS=" $JAVA_OPTS -XX:ParallelGCThreads=4 -XX:MaxTenuringThreshold=9 -XX:+DisableExplicitGC -XX:+ScavengeBeforeFullGC -XX:SoftRefLRUPolicyMSPerMB=0 -XX:+ExplicitGCInvokesConcurrent -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Duser.timezone=Asia/Shanghai -Dclient.encoding.override=UTF-8 -Dfile.encoding=UTF-8 -Djava.security.egd=file:/dev/./urandom"
19
19
export JAVA_OPTS=" $JAVA_OPTS -Dserver.port=$SERVER_PORT -Dlogging.file=$LOG_DIR /$SERVICE_NAME .log -XX:HeapDumpPath=$LOG_DIR /HeapDumpOnOutOfMemoryError/"
20
20
21
21
# Find Java
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ SERVER_URL="http://${APOLLO_CONFIG_SERVICE_NAME}:${SERVER_PORT}"
14
14
# export JAVA_OPTS="$JAVA_OPTS -server -XX:-ReduceInitialCardMarks"
15
15
16
16
# ########## The following is the same for configservice, adminservice, portal ###########
17
- export JAVA_OPTS=" $JAVA_OPTS -XX:ParallelGCThreads=4 -XX:MaxTenuringThreshold=9 -XX:+DisableExplicitGC -XX:+ScavengeBeforeFullGC -XX:SoftRefLRUPolicyMSPerMB=0 -XX:+ExplicitGCInvokesConcurrent -XX:+PrintGCDetails -XX:+ HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Duser.timezone=Asia/Shanghai -Dclient.encoding.override=UTF-8 -Dfile.encoding=UTF-8 -Djava.security.egd=file:/dev/./urandom"
17
+ export JAVA_OPTS=" $JAVA_OPTS -XX:ParallelGCThreads=4 -XX:MaxTenuringThreshold=9 -XX:+DisableExplicitGC -XX:+ScavengeBeforeFullGC -XX:SoftRefLRUPolicyMSPerMB=0 -XX:+ExplicitGCInvokesConcurrent -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Duser.timezone=Asia/Shanghai -Dclient.encoding.override=UTF-8 -Dfile.encoding=UTF-8 -Djava.security.egd=file:/dev/./urandom"
18
18
export JAVA_OPTS=" $JAVA_OPTS -Dserver.port=$SERVER_PORT -Dlogging.file=$LOG_DIR /$SERVICE_NAME .log -XX:HeapDumpPath=$LOG_DIR /HeapDumpOnOutOfMemoryError/"
19
19
20
20
# Find Java
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ SERVER_URL="http://${APOLLO_PORTAL_SERVICE_NAME}:${SERVER_PORT}"
15
15
# export JAVA_OPTS="$JAVA_OPTS -server -XX:-ReduceInitialCardMarks"
16
16
17
17
# ########## The following is the same for configservice, adminservice, portal ###########
18
- export JAVA_OPTS=" $JAVA_OPTS -XX:ParallelGCThreads=4 -XX:MaxTenuringThreshold=9 -XX:+DisableExplicitGC -XX:+ScavengeBeforeFullGC -XX:SoftRefLRUPolicyMSPerMB=0 -XX:+ExplicitGCInvokesConcurrent -XX:+PrintGCDetails -XX:+ HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Duser.timezone=Asia/Shanghai -Dclient.encoding.override=UTF-8 -Dfile.encoding=UTF-8 -Djava.security.egd=file:/dev/./urandom"
18
+ export JAVA_OPTS=" $JAVA_OPTS -XX:ParallelGCThreads=4 -XX:MaxTenuringThreshold=9 -XX:+DisableExplicitGC -XX:+ScavengeBeforeFullGC -XX:SoftRefLRUPolicyMSPerMB=0 -XX:+ExplicitGCInvokesConcurrent -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Duser.timezone=Asia/Shanghai -Dclient.encoding.override=UTF-8 -Dfile.encoding=UTF-8 -Djava.security.egd=file:/dev/./urandom"
19
19
export JAVA_OPTS=" $JAVA_OPTS -Dserver.port=$SERVER_PORT -Dlogging.file=$LOG_DIR /$SERVICE_NAME .log -XX:HeapDumpPath=$LOG_DIR /HeapDumpOnOutOfMemoryError/"
20
20
21
21
# Find Java
You can’t perform that action at this time.
0 commit comments