[ejabberd] monitoring ejabberd with "monit"

Mickael Remond mickael.remond at erlang-fr.org
Wed Nov 10 14:30:00 MSK 2004


Hello,

monitoring and restart of application is build into Erlang. This is activated with a special parameter of the virtual machine: -heart
It take in charge monitoring and restart of the Erlang virtual machine.


 ..... Original Message .......
On Wed, 10 Nov 2004 02:33:38 +0100 "Andreas van Cranenburgh" <andreas at unstable.nl> wrote:
>I've discovered the excellent "monit" daemon, which can restart other
>daemons when they crash. It works very well for the jabber transports
>and for my caching dns server etc. Everything gets restarted
>automagically.
>
>The only problem is, it requires a pid file for every daemon that will
>be watched, and I don't know how to create one for ejabberd with an init
>script.
>
>The init script launches erl, but erl in turn launces beam! And it's
>beam's pid that should go in the /var/run/ejabberd.pid file, I think.

-- 
Mickaël Rémond
  http://www.erlang-projects.org/


More information about the ejabberd mailing list