diff --git a/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/bin/jvm_args_env.sh b/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/bin/jvm_args_env.sh index 9d19a823f7b1..e10dbf2cf361 100644 --- a/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/bin/jvm_args_env.sh +++ b/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/bin/jvm_args_env.sh @@ -23,6 +23,7 @@ -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:gc-%t.log +-XX:ErrorFile=java_error-%p.log -XX:-OmitStackTraceInFastThrow -XX:+ExitOnOutOfMemoryError diff --git a/dolphinscheduler-api/src/main/bin/jvm_args_env.sh b/dolphinscheduler-api/src/main/bin/jvm_args_env.sh index 9d19a823f7b1..e10dbf2cf361 100644 --- a/dolphinscheduler-api/src/main/bin/jvm_args_env.sh +++ b/dolphinscheduler-api/src/main/bin/jvm_args_env.sh @@ -23,6 +23,7 @@ -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:gc-%t.log +-XX:ErrorFile=java_error-%p.log -XX:-OmitStackTraceInFastThrow -XX:+ExitOnOutOfMemoryError diff --git a/dolphinscheduler-master/src/main/bin/jvm_args_env.sh b/dolphinscheduler-master/src/main/bin/jvm_args_env.sh index 0fedc71491aa..96496280bae7 100644 --- a/dolphinscheduler-master/src/main/bin/jvm_args_env.sh +++ b/dolphinscheduler-master/src/main/bin/jvm_args_env.sh @@ -23,6 +23,7 @@ -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:gc-%t.log +-XX:ErrorFile=java_error-%p.log -XX:-OmitStackTraceInFastThrow -XX:+ExitOnOutOfMemoryError diff --git a/dolphinscheduler-standalone-server/src/main/bin/jvm_args_env.sh b/dolphinscheduler-standalone-server/src/main/bin/jvm_args_env.sh index b0e99e28f163..53839e929cf3 100644 --- a/dolphinscheduler-standalone-server/src/main/bin/jvm_args_env.sh +++ b/dolphinscheduler-standalone-server/src/main/bin/jvm_args_env.sh @@ -23,6 +23,7 @@ -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:gc-%t.log +-XX:ErrorFile=java_error-%p.log -XX:-OmitStackTraceInFastThrow -XX:+ExitOnOutOfMemoryError diff --git a/dolphinscheduler-worker/src/main/bin/jvm_args_env.sh b/dolphinscheduler-worker/src/main/bin/jvm_args_env.sh index b0e99e28f163..53839e929cf3 100644 --- a/dolphinscheduler-worker/src/main/bin/jvm_args_env.sh +++ b/dolphinscheduler-worker/src/main/bin/jvm_args_env.sh @@ -23,6 +23,7 @@ -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:gc-%t.log +-XX:ErrorFile=java_error-%p.log -XX:-OmitStackTraceInFastThrow -XX:+ExitOnOutOfMemoryError