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

ENFILE: file table overflow #260

Open
alexisabril opened this issue Aug 24, 2016 · 0 comments
Open

ENFILE: file table overflow #260

alexisabril opened this issue Aug 24, 2016 · 0 comments

Comments

@alexisabril
Copy link
Contributor

There's a possibility for DocumentJS to attempt to open too many files, resulting in the: Too many files open issue. This is specific for Macs, but I imagine the limit exists in all OSs. Reference: http://superuser.com/questions/433746/is-there-a-fix-for-the-too-many-open-files-in-system-error-on-os-x-10-7-1

Scenario: A project with a public folder and its own package.json. Eg: public/package.json and /package.json both exist. As a result, DocumentJS will attempt to document all node modules as well(assuming we've forgotten to add this path to the ignore option in document.js).

Note: This issue is for discussion as it may not be DocumentJS's responsibility. However, as this is a tool that easily can scan a large part of the filesystem, we may want to institute some safeguards.

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

1 participant