[erlang-questions] Use systemd's watchdog functionality instead of heart?

Thomas Elsgaard thomas.elsgaard@REDACTED
Tue Feb 19 21:23:49 CET 2019


Mikael, You can also look at:

https://gist.github.com/maxlapshin/01773f0fca706acdcb4acb77d91d78bb

Thomas

tir. 19. feb. 2019 kl. 21.15 skrev Mikael Pettersson <mikpelinux@REDACTED>:

> One of our devops people recently commented that heart made management
> of beam VMs in systemd-enabled systems more complicated.
>
> I investigated a bit, and found that systemd supports being a watchdog
> for a service, via sd_notify() calls with WATCHDOG=1 messages, and
> appropriate configuration in the unit file.
>
> Interestingly enough, there _is_ systemd support in OTP, but only in epmd.
>
> Is there a good reason _not_ to use systemd's watchdog functionality
> instead of heart, where available?
>
> /Mikael
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190219/23dcbbf0/attachment.htm>


More information about the erlang-questions mailing list