[erlang-questions] HEART

zxq9 zxq9@REDACTED
Wed May 13 03:31:58 CEST 2015


On 2015年5月12日 火曜日 19:59:55 Michael L Martin wrote:
> But who watches the watchdog?

Depends on which type you're talking about.
Some (most?) watchdog/procdoc type systems start two processes that watch each other in addition to the target process(es).

When writing these for my own daemons I usually make an "undead mode" where a monitor daemon is created to watch the service daemon, and the service daemon itself acts as the monitor for the monitor daemon.

-Craig



More information about the erlang-questions mailing list