diff --git a/bin/start_be.sh b/bin/start_be.sh index 72c595aa284604..a15d60522635a4 100755 --- a/bin/start_be.sh +++ b/bin/start_be.sh @@ -33,7 +33,6 @@ OPTS="$(getopt \ -l 'console' \ -l 'version' \ -l 'benchmark' \ - -l 'skip_check_ulimit' \ -- "$@")" eval set -- "${OPTS}" @@ -62,11 +61,6 @@ while true; do RUN_BENCHMARK=1 shift ;; - --skip_check_ulimit) - RUN_SKIP_CHECK_ULIMIT=1 - RUN_CONSOLE=1 - shift - ;; --) shift break @@ -189,7 +183,7 @@ if [[ "${RUN_VERSION}" -eq 1 ]]; then exit 0 fi -if [[ "${RUN_SKIP_CHECK_ULIMIT}" -eq 0 ]]; then +if [[ "${SKIP_CHECK_ULIMIT}" != "true" ]]; then if [[ "$(uname -s)" != 'Darwin' ]]; then MAX_MAP_COUNT="$(cat /proc/sys/vm/max_map_count)" if [[ "${MAX_MAP_COUNT}" -lt 2000000 ]]; then diff --git a/docker/runtime/be/resource/init_be.sh b/docker/runtime/be/resource/init_be.sh index 67dd7845365db6..4b77eb3fc0df08 100644 --- a/docker/runtime/be/resource/init_be.sh +++ b/docker/runtime/be/resource/init_be.sh @@ -198,7 +198,7 @@ _main() { check_be_status doris_note "Ready to start BE!" export SKIP_CHECK_ULIMIT=true - ${DORIS_HOME}/be/bin/start_be.sh --skip_check_ulimit & + ${DORIS_HOME}/be/bin/start_be.sh --console & child_pid=$! wait $child_pid exec "$@"