avoid too many open files on os x
This commit is contained in:
parent
3bf3be0bc4
commit
198a01f05b
1 changed files with 3 additions and 0 deletions
3
ctl
3
ctl
|
@ -35,6 +35,9 @@ export oxCACHE
|
||||||
#must be called to update commands in $PATH
|
#must be called to update commands in $PATH
|
||||||
hash -r 2>/dev/null
|
hash -r 2>/dev/null
|
||||||
|
|
||||||
|
# allow more open files
|
||||||
|
ulimit -S -n 2048
|
||||||
|
|
||||||
if [ "$1" == "start" ]; then
|
if [ "$1" == "start" ]; then
|
||||||
cd "$BASE/$NAME"
|
cd "$BASE/$NAME"
|
||||||
if [ -e $PID ]; then
|
if [ -e $PID ]; then
|
||||||
|
|
Loading…
Reference in a new issue