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:
- Operating system: macOS
- Version of this package: Latest
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: