Skip to content

CD daemon: process manager: backoff on daemon restarts #673

@jgehrcke

Description

@jgehrcke

For config failures and similar, right now we busy-spin on daemon restarts managed by process manager.

Let's introduce an adaptive wait time here:

klog.Warningf("Watchdog: start process again")

Example, showing unreasonably high rate:

W1014 09:04:42.467224       1 process.go:189] Watchdog: child terminated unexpectedly
[...]
W1014 09:04:42.467236       1 process.go:195] Watchdog: start process again
[...]
W1014 09:04:43.467276       1 process.go:189] Watchdog: child terminated unexpectedly
[...]
W1014 09:04:44.467334       1 process.go:195] Watchdog: start process again

Metadata

Metadata

Assignees

Labels

robustnessissue/pr: edge cases & fault tolerance

Type

No type

Projects

Status

Backlog

Relationships

None yet

Development

No branches or pull requests

Issue actions