Hi - I have a solution to this problem for Mac OS X 10.10 (Yosemite).
I've done just about every combination of ulimit changes which does NOT resolve this.
For Yosemite, you need to create a startup LaunchDaemon, which runs launchctl and sets maxfiles.
The method:
cat > limit.maxfiles.plist
<paste the following text - without this line>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "
http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>limit.maxfiles</string>
<key>ProgramArguments</key>
<array>
<string>launchctl</string>
<string>limit</string>
<string>maxfiles</string>
<string>65536</string>
<string>65536</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>ServiceIPC</key>
<false/>
</dict>
</plist>
^d <to end the file>
or - run an editor, paste in the text (without the ^d) and save to limit.maxfiles.plist
Now, copy that file to the right location:
sudo cp limit.maxfiles.plist /Library/LaunchDaemons/
Password:<your password here>
done! now, reboot.
When running again, try
launchctl limit maxfiles
in a terminal window - it should return:
maxfiles 65536 65536
Celebrate!
and run ImageIntegration those 830 files!
Note that I also have:
ulimit -n 10240
at the end of both my .profile and .login files in my home directory.
Someday, I'll remove them and see if my solution above still works.
--Hugh