This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new 44b87cb5ba4 [chore](script message) More convenient error msg for 
nofile open. #39642 (#40195)
44b87cb5ba4 is described below

commit 44b87cb5ba45a89eab4211e17b03f5b95fec2acd
Author: zhiqiang <seuhezhiqi...@163.com>
AuthorDate: Sat Aug 31 00:18:20 2024 +0800

    [chore](script message) More convenient error msg for nofile open. #39642 
(#40195)
    
    cherry pick from #39642
---
 bin/start_be.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/bin/start_be.sh b/bin/start_be.sh
index d67f612ce28..d9800e1b047 100755
--- a/bin/start_be.sh
+++ b/bin/start_be.sh
@@ -79,7 +79,11 @@ fi
 
 MAX_FILE_COUNT="$(ulimit -n)"
 if [[ "${MAX_FILE_COUNT}" -lt 60000 ]]; then
-    echo "Please set the maximum number of open file descriptors larger than 
60000, eg: 'ulimit -n 60000'."
+    echo "Set max number of open file descriptors to a value greater than 
60000."
+    echo "Ask your system manager to modify /etc/security/limits.conf and 
append content like"
+    echo "  * soft nofile 655350"
+    echo "  * hard nofile 655350"
+    echo "and then run 'ulimit -n 655350' to take effect on current session."
     exit 1
 fi
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to