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

Control.Funflow.Exernal.Executor.execute leaks file handles #112

Closed
mpickering opened this issue Sep 20, 2018 · 0 comments · Fixed by #113
Closed

Control.Funflow.Exernal.Executor.execute leaks file handles #112

mpickering opened this issue Sep 20, 2018 · 0 comments · Fixed by #113

Comments

@mpickering
Copy link
Contributor

When you write a flow which captures stdout, two new files are created stdout and stderr which is where the output is redirected to. These handles are created in execute and then passed to proc but once the process has finished they are never closed. This means that they leak and eventually you will hit the open file limit. You can observe this by looking at lsof.

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

Successfully merging a pull request may close this issue.

1 participant