I hate to say it; but you know you can tweak the OS to allow
excessive file handle usage.
I once wrote a Haskell script to empty a very, vary large S3
bucket. On Linux, I had to put it in a shell while loop to
keep it going, due to file handle exhaustion. On my Mac it ran
without incident.
:; ulimit
unlimited
Turns out the `ulimit` on my Mac is pretty high.
--
Jason Dusek
|...tweak the OS...|
http://www.kegel.com/c10k.html#limits.filehandles