This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 9d0f4c00943 [minor](be) set fd number check to 60000 for BE start
script (#25078)
9d0f4c00943 is described below
commit 9d0f4c009431208f45960960a3fc4491f24120e7
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]