Upgrade the maximum file descriptor number (
'nofile') that can be opened by this process
npm install unlimited
To attempt to upgrade the maximum file descriptor number that can be opened by this process
to effectively unlimited (
var unlimited =
Or specify a specific
'nofile' number to use:
If the current user's permissions or the system's
'hard' limit do not allow the maximum
file descriptor number to be increased, this function will do nothing (no-op).
For best results, start your node process as
unlimited(), then downgrade
the user permissions with the
On non-posix platforms (e.g. Windows), this module does nothing.
MIT. Copyright (c) Feross Aboukhadijeh.