mac Too many open files in system
查看限制
launchctl limit maxfiles
结果
maxfiles 256 unlimited
增大限制
vim /etc/sysctl.conf
kern.maxfiles=65536
kern.maxfilesperproc=65536
docs
is-there-a-fix-for-the-too-many-open-files-in-system-error-on-os-x-10-7-1
too-much-open-files-exception-under-unlimited-system
转载于:https://my.oschina.net/go4it/blog/754654