mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-08-20 04:36:41 +00:00
If the restarted parser's channel closes again right away (reads keep failing on the reopened /dev/kmsg), the watcher restarts in a tight loop with no delay, spinning a CPU core and flooding the logs (measured 37k restarts in 200ms). Delay the first attempt when the previous restart was less than retryDelay ago.