You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2020/11/18 12:15:00 UTC

[iotdb] branch rel/0.11 updated: set max open file in linux (#2071)

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

qiaojialin pushed a commit to branch rel/0.11
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/rel/0.11 by this push:
     new 11872b5  set max open file in linux (#2071)
11872b5 is described below

commit 11872b5dd6fecc3d993caaf74070c6f01dd304d7
Author: Haimei Guo <68...@users.noreply.github.com>
AuthorDate: Wed Nov 18 20:07:54 2020 +0800

    set max open file in linux (#2071)
    
    (cherry picked from commit f2e916120841d709f175681b9d76796ae45dd75d)
---
 server/src/assembly/resources/sbin/start-server.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/server/src/assembly/resources/sbin/start-server.sh b/server/src/assembly/resources/sbin/start-server.sh
index fa3f654..c4358f6 100755
--- a/server/src/assembly/resources/sbin/start-server.sh
+++ b/server/src/assembly/resources/sbin/start-server.sh
@@ -18,6 +18,8 @@
 # under the License.
 #
 
+# Set max number of open files
+ulimit -n 65535
 
 echo ---------------------
 echo Starting IoTDB