Skip to content

Bug: Killing the worker agent leaves zombie processes behind #983

Description

@yuanmich2

Describe the bug

If you kill the worker agent while a job is running, any processes that were spawned as part of the job stick around indefinitely. This was discovered when rendering Houdini jobs. The Houdini adaptor server kept consuming licenses in the background after the worker agent terminated and seemed to be able to run indefinitely.

Expected Behaviour

All processes spawned by the worker agent should die with the worker agent.

Current Behaviour

The spawned processes stick around and continue to consume resources indefinitely.

Reproduction Steps

Set up the worker agent and begin rendering something that uses an adaptor. Kill the worker agent in the middle of the render and then check your process list for the DCC process.

Environment

At minimum:

  1. Operating system: macOS
  2. Version of this package: Latest

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions