Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EMFILE, too many open files #1

Closed
kalkov opened this issue Jan 11, 2012 · 4 comments
Closed

EMFILE, too many open files #1

kalkov opened this issue Jan 11, 2012 · 4 comments

Comments

@kalkov
Copy link

kalkov commented Jan 11, 2012

node dedup.js ~/Desktop/srv/is_it_hot_ui/ --dryrun
Notice: DRY RUN. No files will be deleted or symbolic links created.
Notice: Deduplicating from '/home/versi/Desktop/srv/is_it_hot_ui'.
Reading files...
Discovered [5701] total files in '/home/versi/Desktop/srv/is_it_hot_ui'.
Generating hashes... (Can take a while).

events.js:48
throw arguments[1]; // Unhandled 'error' event
^
Error: EMFILE, too many open files

@nodesocket
Copy link
Owner

Increase your ulimit. Are you running OSX?

@kalkov
Copy link
Author

kalkov commented Jan 11, 2012

Ubuntu

@nodesocket
Copy link
Owner

try:

ulimit -n 9000

@kalkov
Copy link
Author

kalkov commented Jan 11, 2012

Fixed .
sudo su
ulimit -n 32000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants