Unsandboxed mode leaks the nex-agent
process
#238
Labels
defect
Suspected defect such as a bug or regression
nex-agent
process
#238
Observed behavior
Start a node running in just about any configuration, so long as sandbox mode is disabled. Hit Ctrl-c to stop the
nex
node process.We see a failed attempt to terminate an OS process. When looking at the output from the procman shutdown, we don't actually see it try and shut down the active workload, only the agent that was in the pending pool:
In this trace, the running agent was workload
cp6vlfv52omlk6o3m830
. Here's the log from the agent attempting to terminate the workload that was running:Expected behavior
What I would expect here is that the agent is able to kill its child process, and the agent is able to be killed by the node parent/spawning process manager.
After terminating a node with Ctrl-C in no sandbox mode, we should see no running
nex-agent
processes.When terminate a node with Ctrl-C in sandboxed mode, we should see no leftover
firecracker
processes.Nex and NATS version
Nex
main
, NATS 2.10.9Host environment
Ubuntu Linux
Steps to reproduce
Start unsandboxed mode, start a workload, hit ctrl-C, observe leaked agent.
The text was updated successfully, but these errors were encountered: