4

On a mac high sierra 10.13.3 I have 256 open files.
I want to raise it and I open a terminal and enter

sudo launchctl limit maxfiles 1000000 1000000

This doesnt change anything when I enter

ulimit -a 

I still get 256

But it does change something, because when I enter

sudo launchctl limit maxfiles 1000 1000

the system just stops working until a restart.

What is the right way to Increase number of open files in mac high sierra

btw:
Following command changes the open files just for the specific terminal session

ulimit -n 4096
1

0

You must log in to answer this question.

Browse other questions tagged .