We\'re benchmarking node performance using a simple Hello World node server on AWS (EC2).
No matter what size instance we use Node always appears to max out at 1000
Use the posix
module to raise the limit on the number of file descriptors your process can use.
Install posix
npm install posix
Then in your code that runs when you launch your app...
var posix = require('posix');
// raise maximum number of open file descriptors to 10k,
// hard limit is left unchanged
posix.setrlimit('nofile', { soft: 10000 });