-
Notifications
You must be signed in to change notification settings - Fork 37
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: There appear to be 32 leaked semaphore objects to clean up at shutdown #27
Comments
The version of python is 3.9.7 |
Hmm.. Unfortunately I don't have a mac to be able to debug this. When testing this on linux using python 3.9.7 your script works just fine and doesn't give the warnings. So it's probably mac specific. However, it is only a warning at the end of the script, and a warning like this can be safely ignored. I.e., your code should still work fine. If someone else wants to do some debugging, please do so. The only semaphores being used in mpire are within JoinableQueues in |
Don't ask me how, but I seem to be consistently getting this when using a WorkerPool with |
There is definitely a bug here that leaks semaphores. It causes macOS to run out of file descriptors. |
Bug has been found. Mac support will be added soon |
I've got this message by resource tracker when I use
spawn
mode on my mac, the code is really simple:Can anyone help me solve this problem?
The text was updated successfully, but these errors were encountered: