Randy Schmidt on 22 Jan 2008 06:04:31 -0800

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PhillyOnRails] Monit + Mongrel

  • From: "Randy Schmidt" <randy.schmidt@gmail.com>
  • To: talk@phillyonrails.org
  • Subject: Re: [PhillyOnRails] Monit + Mongrel
  • Date: Tue, 22 Jan 2008 09:02:47 -0500
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=l93XIp0Ws9t2JRF080oqo/Xa25j8wcPn/jf9VBqwLVQ=; b=ZQpxxlqxr8g+gxwWz/odJ72gl5f4/sIzdIqa5QETViHTBbCjva/JTEL3wEPlUBf5RHiNTBHxvgUD1Sh7oe6SsdDR5iRyPxQORpQgxRv2qjaRYCQlz7yqv9RsC/ahLaCfIQIJNBHE0n3chiqrC9H1U5tbXSzl+oHlSfAkl2/QU48=
  • List-archive: <http://lists.phillyonrails.org/pipermail/talk>
  • Reply-to: talk@phillyonrails.org
  • Sender: talk-bounces@phillyonrails.org

> You probably want to be using mongrel::cluster with the --clean flag.
> Mongrel_rails won't restart daemons that were hard killed by Monit and
> didn't remove their PID file.

I started by using /usr/local/bin/mongrel_rails cluster:: but that
calls mongrel_rails (without an absolute path) which monit can't find.
Monit has a very slim PATH setup and you can't add to it. I guess I
could add a symlink from a place in the Monit PATH but I have a hard
time believing that will fix the problem since my start and stop
programs work fine from the command line.

> There is a lot of information about this scattered around on the
> Mongrel users list.

Alright, thanks. I'll have to take a look.

Thank you,
To unsubscribe or change your settings, visit: