mac: if you get the error emfile: too many opened files., this is because of your system's max opened file limit. for osx the default is very low (256). increase your limit temporarily with ulimit -n 8192, the number being the new max limit.