Skip to content

kill subprocess_mixin children with parent #183

@wcpettus

Description

@wcpettus

Any INT/TERM command to the top-level dragonfly process isn't propagated down to the children in subprocess_mixin. Because the default structure is a "control" subprocess and a "worker" subprocess that is actually handling the business, this results in two orphaned children that have to be cleaned up manually.

Our default process stop is a graceful INT, so on_channel_closed (https://github.com/project8/dripline-python/blob/master/dripline/core/service.py#L190) is called, which could attempt to cleanup any endpoints (if the subprocesses are added as endpoints)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions