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 handling for child_process #112

Open
solmsted opened this issue Apr 8, 2017 · 0 comments
Open

EMFILE handling for child_process #112

solmsted opened this issue Apr 8, 2017 · 0 comments

Comments

@solmsted
Copy link

solmsted commented Apr 8, 2017

While graceful-fs does a terrific job of handling EMFILE errors for fs operations, when a process is at its open file descriptor limit nothing is handling the EMFILE errors from child_process operations. Since graceful-fs already has the enqueue and retry mechanism in place when file descriptors are closed, would it be possible to offer a patched child_process object that uses the same queue?

Alternatively, is it possible to receive an event from the queue so my application can be notified when there are free file descriptors available to the process?

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