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 9d19a823f7..e10dbf2cf3 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 9d19a823f7..e10dbf2cf3 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 0fedc71491..96496280ba 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 b0e99e28f1..53839e929c 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 b0e99e28f1..53839e929c 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