From 7f2ff83480b452c26ea8466c02521b30f3308fce Mon Sep 17 00:00:00 2001 From: AlexYue Date: Sat, 28 Jan 2023 14:18:25 +0800 Subject: [PATCH] [enhancement](FE)shut down fast throw JVM might do when throwing exception #16146 As discussed in 16107 Sometimes jvm would try to reduce the whole stack to just one line, it's kind of confusing for debugging. Issue Number: close #xxx --- bin/start_fe.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/start_fe.sh b/bin/start_fe.sh index fc7ec47e39..5028baedaf 100755 --- a/bin/start_fe.sh +++ b/bin/start_fe.sh @@ -210,10 +210,10 @@ if [[ "${IMAGE_TOOL}" -eq 1 ]]; then echo "Internal Error. USE IMAGE_TOOL like : ./start_fe.sh --image image_path" fi elif [[ "${RUN_DAEMON}" -eq 1 ]]; then - nohup ${LIMIT:+${LIMIT}} "${JAVA}" ${final_java_opt:+${final_java_opt}} -XX:OnOutOfMemoryError="kill -9 %p" org.apache.doris.PaloFe ${HELPER:+${HELPER}} "$@" >>"${LOG_DIR}/fe.out" 2>&1 >"${LOG_DIR}/fe.out" 2>&1 "${pidfile}"