Opened 7 years ago

Last modified 5 years ago

#4208 new defect

Tirex-backend-manager spins with 100% CPU if all backends die

Reported by: amm Owned by: jochen@…
Priority: minor Milestone:
Component: tirex Version:
Keywords: Cc:

Description

If all backend processes die (with non restartable errors) and no more processes are running without tirex-backend-manager having received a sighup, then tirex-backend-manager sits there spinning with 100% CPU usage.

If all backends exited with non-restartable errors, tirex-backend-manager should rather terminate as well than use up 100% CPU.

Change History (1)

comment:1 Changed 5 years ago by stephankn

How to reproduce?

The restart code could remember the timestamp of a process restart. If restarts happen too frequent, either sleep between or abort as something seriously broken which won't recover.

Note: See TracTickets for help on using tickets.