From 159b511b6c5558937f31a3a44f3228077dfa091e Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Fri, 15 Sep 2017 15:42:28 +0100 Subject: [PATCH] Problem: travis OSX job does not set ulimit Solution: do it, as it's still needed for OSX --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2f869c89..b3de5797 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,7 +27,7 @@ before_install: # ZMQ stress tests need more open socket (files) than the usual default # On OSX, it seems the way to set the max files limit is constantly changing, so # try to use all known knobs to ensure compatibility across various versions -- if [ $TRAVIS_OS_NAME == "osx" ] ; then sudo sysctl -w kern.maxfiles=64000 ; sudo sysctl -w kern.maxfilesperproc=64000 ; sudo launchctl limit maxfiles 64000 64000 ; fi +- if [ $TRAVIS_OS_NAME == "osx" ] ; then sudo sysctl -w kern.maxfiles=64000 ; sudo sysctl -w kern.maxfilesperproc=64000 ; sudo launchctl limit maxfiles 64000 64000 ; ulimit -n 64000 ; fi # Build and check this project script: