[issue38119] resource tracker destroys shared memory segments when other processes should still have valid access

Vinay Sharma report at bugs.python.org
Thu Aug 6 14:24:36 EDT 2020


Vinay Sharma <vinay0410sharma at gmail.com> added the comment:

Well, the chances of resource tracker dying abruptly are very less because it's thoroughly tested, and there are mechanisms to re-spawn resource_tracker process if you see the code. There is a function called `def ensure_running`.

Resource tracker is still alive even if the process for which it was created dies. It also handles cleaning shared semaphores. So, I guess this is something we can rely on for cleaning up things, because at the end of the day that's what it was made for.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38119>
_______________________________________


More information about the Python-bugs-list mailing list