I believe this has something to do with the launchctl limit
Check to see what your output is; it should look kind of like this;
cpu unlimited unlimited
filesize unlimited unlimited
data unlimited unlimited
stack 8388608 67104768
core 0 unlimited
rss unlimited unlimited
memlock unlimited unlimited
maxproc 709 1064
maxfiles 256 unlimited
If you notice your maxfiles is set >256 then;
sudo vi /etc/launchctl.conf
Edit the file accordingly, and soft maxfile vaule back to 256.
I've also attached a link to all the default commands in case this isn't a fix for your issue.