Can the application restart automaticly after it coredown?
Question
Sometimes the erlang application will coredown by out of memery or other reasons. Can I config something to let it restart when it coredown?
Solution
erlang support option --heart for monitoring if erlang process still alive. In case of crashing or hanging erlang process, heartbeat part reboots the whole server (it assumes your erlang application starts at booting of your server). You can read all details here:
http://www.erlang.org/doc/man/heart.html
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow