[Mongrel] mongrel_cluster, start on boot, stale pids

Jos Backus jos at catnook.com
Fri Mar 7 12:51:18 EST 2008


On Thu, Mar 06, 2008 at 11:42:04PM -0700, Alexey Verkhovsky wrote:
> On Thu, Mar 6, 2008 at 6:39 PM, Jos Backus <jos at catnook.com> wrote:
> >  So how does this work? What watches the multiple mongrels running in the
> >  foreground? Running each mongrel process as a separate service is ugly imo, it
> >  would be much nicer to have a supervised multi_mongrel controller (that's the
> >  idea described in the Thin feature request).
> 
> Here is one example of how this can be done:
> http://rubyworks.rubyforge.org/manual/runit.html

Looks like a separate service is used for each Mongrel. Of course that can be
done easily. The solution I'm looking for manages multiple Mongrels under a
single service, just like Apache manages its own worker children.

Thanks for the link, Alexey.

-- 
Jos Backus
jos at catnook.com


More information about the Mongrel-users mailing list