This is an automated email from the ASF dual-hosted git repository.
jooks pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git
The following commit(s) were added to refs/heads/master by this push:
new fc97814b64 [type:feat] Increase the default stack size of shenyu-admin
thread in docker (#4943)
fc97814b64 is described below
commit fc97814b6485333cff9fd0eb25770ee8cbebd4ea
Author: NanMu <[email protected]>
AuthorDate: Thu Aug 3 13:59:47 2023 +0800
[type:feat] Increase the default stack size of shenyu-admin thread in
docker (#4943)
* support openEuler system(arm64)
* trigger ci
---------
Co-authored-by: ‘xcsnx’ <‘[email protected]’>
Co-authored-by: dragon-zhang <[email protected]>
Co-authored-by: Kunshuai Zhu <[email protected]>
---
shenyu-dist/shenyu-admin-dist/docker/entrypoint.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/shenyu-dist/shenyu-admin-dist/docker/entrypoint.sh
b/shenyu-dist/shenyu-admin-dist/docker/entrypoint.sh
index 7241bafcc5..31ef33f2ed 100644
--- a/shenyu-dist/shenyu-admin-dist/docker/entrypoint.sh
+++ b/shenyu-dist/shenyu-admin-dist/docker/entrypoint.sh
@@ -23,8 +23,8 @@ EXT_LIB=${DEPLOY_DIR}/ext-lib
CLASS_PATH=.:${DEPLOY_DIR}/conf:${DEPLOY_DIR}/lib/*:${EXT_LIB}/*
if [ -z "${ADMIN_JVM}" ]; then
- JAVA_OPTS=" -server -Xmx2g -Xms2g -Xmn1g -Xss256k -XX:+DisableExplicitGC
-XX:LargePageSizeInBytes=128m"
- JAVA_OPTS="${JAVA_OPTS} -XX:+UseFastAccessorMethods
-XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled
-XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70"
+ JAVA_OPTS=" -server -Xmx2g -Xms2g -Xmn1g -Xss328k -XX:+DisableExplicitGC
-XX:LargePageSizeInBytes=128m"
+ JAVA_OPTS="${JAVA_OPTS} -XX:+UseFastAccessorMethods
-XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled
-XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70"
echo "Use default jvm options: $JAVA_OPTS"
else
JAVA_OPTS=${ADMIN_JVM}