This is an automated email from the ASF dual-hosted git repository. kxiao pushed a commit to branch branch-2.0 in repository https://gitbox.apache.org/repos/asf/doris.git
commit 583e48574c4b8b244118ec69125203e8e1636706 Author: Mingyu Chen <[email protected]> AuthorDate: Sat Oct 7 19:02:39 2023 +0800 [minor](be) set fd number check to 60000 for BE start script (#25078) Modify the BE fd number check to 60000, because the default fd number value of some system is 65535, which is smaller than previous threshold 65536, so reduce to 60000 to let Doris start normally in most of system. --- bin/start_be.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/start_be.sh b/bin/start_be.sh index a78c9af447d..273faa5649e 100755 --- a/bin/start_be.sh +++ b/bin/start_be.sh @@ -78,8 +78,8 @@ if [[ "$(uname -s)" != 'Darwin' ]]; then fi MAX_FILE_COUNT="$(ulimit -n)" -if [[ "${MAX_FILE_COUNT}" -lt 65536 ]]; then - echo "Please set the maximum number of open file descriptors to be 65536 using 'ulimit -n 65536'." +if [[ "${MAX_FILE_COUNT}" -lt 60000 ]]; then + echo "Please set the maximum number of open file descriptors larger than 60000, eg: 'ulimit -n 60000'." exit 1 fi --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
