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

Explicitly close stderr and stdout handles to stop leaking fds #113

Merged
merged 2 commits into from
Sep 21, 2018

Conversation

mpickering
Copy link
Contributor

These are the two places where handles are created and not explicitly closed.

This bug can be observed if you have a flow running say 1000 external tasks. Then running lsof | grep <exe-name> will show an increasing list of files.

Closes #112

@mpickering mpickering requested a review from nc6 September 20, 2018 17:18
@nc6
Copy link
Member

nc6 commented Sep 21, 2018

@mpickering I've added you as a collaborator so you can open branches in this repo, so that CI will pick them up and test them.

@mpickering
Copy link
Contributor Author

Thanks, I pushed the branch and it seems to be running CI now.

@nc6 nc6 merged commit cbcb864 into tweag:master Sep 21, 2018
dorranh pushed a commit that referenced this pull request Jul 1, 2021
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 this pull request may close these issues.

Control.Funflow.Exernal.Executor.execute leaks file handles
2 participants