Closed
Description
It would be great if there was a way for users to change ulimit explicitly from within a io.js/node.js process.
Something like process.setulimit and process.getulimit.
For users who don't understand EMFILE, it would make it easier for them to increase the limit especially on OS X without having to use an interim bash script calling ulimit before launching their script.
It would also avoid having node do something magical like reset the ulimit in the background, and it would expose more of the os capabilities to the user, which is always great.