-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
resource_tracker UserWarning on crunch executable processing with multi-file requests (parallel execution) #100
Comments
|
This appears that it may have been fixed in python/cpython#30617 |
We can address it in the Python source here with the approach described in https://stackoverflow.com/a/25558333/2848172 |
chrissimpkins
added a commit
that referenced
this issue
Jun 18, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Python raises a multiprocessing std library UserWarning warning in std error that states something along the lines of:
"...UserWarning: resource_tracker: There appear to be 16 leaked shared_memory objects to clean up at shutdown..."
This is a known issue in Py3.8+ versions of Python multiprocessing and does not appear to be an actual error in downstream shared memory object source.
https://bugs.python.org/issue39959
https://bugs.python.org/issue38119
Possible fix in:
python/cpython#30617
To Reproduce
Install the crunch dependencies and executable on macOS, run the crunch executable with multiple png files simultaneously so that parallel processing is triggered.
Expected behavior
No warning message if this is not an issue that we can address in downstream source.
The text was updated successfully, but these errors were encountered: