[erlang-questions] Erlang newbie questions

Steve Vinoski <>
Thu Oct 20 04:39:36 CEST 2011


On Wed, Oct 19, 2011 at 6:34 PM, Sam Bobroff <> wrote:
>
> * If you use the built-in heart program to restart a crashed or hung
> VM process you can get into the situation where you can't (easily)
> stop a VM that's crashing on start-up. If you kill heart then the VM
> restarts it, if you kill the VM then heart restarts it. This might be
> OK on an embedded machine but it does not make a Unix admin happy when
> a service needs to be stopped right away.

The techniques I described here let you limit the number of heart restarts:

http://steve.vinoski.net/blog/2009/02/22/controlling-erlangs-heart/

--steve



More information about the erlang-questions mailing list