Jesper Louis Andersen
Tue May 12 17:52:08 CEST 2015
On Mon, May 11, 2015 at 9:13 PM, Roberto Ostinelli <
> In non-erlang systems, I would have standard watchdogs that launch an
> application on OS boot, and then monitor it and relaunch it if necessary.
The heart system in Erlang is a simple watchdog, mostly used if you nothing
else that will restart your application. In an SysV init system, there is
no automatic watching and restart. In RcNG in FreeBSD, there is no restart.
In OpenBSDs rc, there is no automatic restart.
But as you say, many modern init systems also provides watching of the
applications it starts, and in that case I wouldn't run with heart enabled.
Better to let the system above handle it, and plug into its
monitoring/reporting and so on.
Heart is very useful if you start nodes outside the control of the system
watchdog though. In that case, they won't be restarted, and you can run
heart on those.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions