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

chunksize #81

Closed
JuliaLawall opened this issue Feb 25, 2019 · 6 comments
Closed

chunksize #81

JuliaLawall opened this issue Feb 25, 2019 · 6 comments
Labels

Comments

@JuliaLawall
Copy link

I have the impression that providing a chunksize and a list of work that has length longer than the number of cores requested allocates a file descriptor that is never freed.

I believe that I am using the following version:

.opam/4.06.1/lib/parmap

@rdicosmo
Copy link
Owner

rdicosmo commented Feb 25, 2019 via email

@JuliaLawall
Copy link
Author

JuliaLawall commented Feb 25, 2019 via email

@rdicosmo
Copy link
Owner

rdicosmo commented Feb 26, 2019 via email

@JuliaLawall
Copy link
Author

JuliaLawall commented Feb 26, 2019 via email

@rdicosmo
Copy link
Owner

rdicosmo commented Feb 26, 2019 via email

@UnixJunkie UnixJunkie added the bug label Jul 23, 2019
@rdicosmo
Copy link
Owner

rdicosmo commented May 2, 2021

Well, it turns out it was much easier to look into the code itself.
The read pipe end on the master task side was never closed, so Parmap has been leaking file descriptors for quite a while.
Fixed adding the proper instruction in commit 7edef27
Thanks again, @JuliaLawall for spotting this.

@rdicosmo rdicosmo closed this as completed May 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants