Reputation: 23
Sometimes the erlang application will coredown by out of memery or other reasons. Can I config something to let it restart when it coredown?
Upvotes: 0
Views: 108
Reputation: 5998
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
Upvotes: 1