[erlang-questions] Clarification on supervisor restart limits
Thu Oct 23 08:50:17 CEST 2008
The doco says:
"To prevent a supervisor from getting into an infinite loop of child process
terminations and restarts, a maximum restart frequency is defined using two
integer values MaxR and MaxT. If more than MaxR restarts occur within MaxT
seconds, the supervisor terminates all child processes and then itself."
I've always interpreted that to mean that the limits are applied to each child
individually. But it appears that in reality restarts are counted over all
Perhaps it would be clearer to add to the doco something like "Restarts are
not counted per child. A restart is counted if any child restarts."
Anthony Shipman Mamas don't let your babies
grow up to be outsourced.
More information about the erlang-questions