From 198a01f05be8652ab820ef74ebc24e6d185cef0b Mon Sep 17 00:00:00 2001 From: j Date: Tue, 27 May 2014 20:10:30 +0200 Subject: [PATCH] avoid too many open files on os x --- ctl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ctl b/ctl index c11896d..b74ffcb 100755 --- a/ctl +++ b/ctl @@ -35,6 +35,9 @@ export oxCACHE #must be called to update commands in $PATH hash -r 2>/dev/null +# allow more open files +ulimit -S -n 2048 + if [ "$1" == "start" ]; then cd "$BASE/$NAME" if [ -e $PID ]; then