librelist archives

« back to archive

process management with monit?

process management with monit?

From:
Jess Austin
Date:
2010-09-09 @ 02:08
hi,

I'm new to this list, and have only done the first couple of examples
in the mongrel2 docs.  If this sort of query isn't welcome, please let
me know.

I am intrigued by the criticism that daemontools, minit, cinit, and
runit receive in the manual.  Of those, I am only familiar with
daemontools, but it is certainly ill-suited to my needs.  I have a few
simple web apps on a shared host with webfaction.  I can listen on any
number of assigned ports, but I don't have root.

I have found monit (not minit!), http://mmonit.com/monit/ very useful.
 It does exactly what I need, and I'm going to try running mongrel2
with it.  Does anyone foresee any problems with this setup?  Assuming
this works, would a paragraph on the topic for the manual or the wiki
be appropriate?

cheers,
Jess

Re: [mongrel2] process management with monit?

From:
Zed A. Shaw
Date:
2010-09-09 @ 05:09
On Wed, Sep 08, 2010 at 09:08:33PM -0500, Jess Austin wrote:
> hi,
> I have found monit (not minit!), http://mmonit.com/monit/ very useful.
>  It does exactly what I need, and I'm going to try running mongrel2
> with it.  Does anyone foresee any problems with this setup?  Assuming
> this works, would a paragraph on the topic for the manual or the wiki
> be appropriate?

Hmm, I'm assuming you've got rights to bind the right ports, so you
should be able to run mongrel2 that way.  Nothing in monit would prevent
it, and you'd get monitoring for free.  The only thing I know is that
monit is a little aggressive when it comes to restarting stuff.  You
should also at least try some of the other tools like daemontools and
runit, or supervisord.  I don't like them since they seem to have more
dogma than features, but try it on your setup.

-- 
Zed A. Shaw
http://zedshaw.com/