aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2017-07-04 15:51:42 +0200
committerGravatar Jan Tattermusch <jtattermusch@google.com>2017-07-11 16:02:06 +0200
commitcc14dee5a622f0b0ce48cafe25cdf2b6f633fc6d (patch)
treea17315981a0afdb2727225d6fbff4167adf1b722
parent5e3699493de4174b3564951a5c22881d5ac3f245 (diff)
set open file limits
-rw-r--r--tools/internal_ci/helper_scripts/prepare_build_macos_rc7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/internal_ci/helper_scripts/prepare_build_macos_rc b/tools/internal_ci/helper_scripts/prepare_build_macos_rc
index 22e80d2afa..a46131a0ed 100644
--- a/tools/internal_ci/helper_scripts/prepare_build_macos_rc
+++ b/tools/internal_ci/helper_scripts/prepare_build_macos_rc
@@ -15,7 +15,12 @@
# Source this rc script to prepare the environment for macos builds
-ulimit -n 1000
+sudo launchctl limit maxfiles unlimited unlimited
+
+# show current maxfiles
+launchctl limit maxfiles
+
+ulimit -n 10000
# show current limits
ulimit -a