Werk #19861 · Apr 29, 26
Fix steadily increasing memory usage of machine sections node collector
The machine sections node collector pod's memory usage grew steadily across agent invocations, eventually sawtoothing against the configured memory limit. The growth was caused by Python interpreter invocations during agent startup leaving stale entries in the kernel's filesystem cache (counted against the pod's cgroup). We now set PYTHONDONTWRITEBYTECODE=1 in the DaemonSet, which eliminates the growth. After upgrade, the pod's reported memory usage will be lower and stable.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Node Collector
- Versions:
- 2.0.0-alpha.1Not yet released