Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0.0-Ducc
-
None
Description
When an agent launches a new process it creates a Camel route to collect stats (memory usage, cpu, etc). The route is added to the Camel context where it remains for the lifetime of the agent. When the process is stopped, the agent only stops the route but never removes it from the Camel context. Over time these routes accumulate and eventually cause Agent OOM.
When the process is stopped the agent should remove associated route from Camel context.