If you run into terminal error too many open files
Below are the steps to increase the limit environment setting for maxflies
Show current config:
launchctl limit
maxfiles 256 unlimitedUnlimited doesn't really mean unlimited, hence why you want to do the following:
sudo vi /etc/launchd.confEnter the following into the file:
limit maxfiles 16384 32768Now reboot your machine...
After restart you should see the following:
launchctl limit
maxfiles 16384 32768