Skip to content

Make worker processes self-destruct when their parent process has died #2

Description

@cr-perry

When a parent process spawns a multiprocessing workforce and then violently crashes, some worker processes may survive and not be cleaned up. This results in unnecessary memory and process bloating.
We could add a monitoring thread for each worker that periodically checks if the parent process has died, and if so, self-destruct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions