title: node-posix setrlimit crashes, EINVAL - Invalid argument
body: <p>The following coed gives me an EINVAL error and Node crashes:</p>
  
  <pre><code>var posix = require('posix');
  console.log(posix.getrlimit('nofile'));
  posix.setrlimit('nofile', {soft: 10000});
  
  
  ERROR:
  
  /var/myfil/index.js:19
  posix.setrlimit('nofile', {soft: 10000});
        ^
  Error: EINVAL, Invalid argument
      at Object.&lt;anonymous&gt; (/var/myfile/index.js:19:7)
      at Module._compile (module.js:456:26)
      at Object.Module._extensions..js (module.js:474:10)
  </code></pre>
  
  <p>What is the problem? It's exactly like the docs.</p>