|
From: | Martin Pala |
Subject: | Re: monitor multiple instances of the same script |
Date: | Wed, 11 Aug 2010 10:08:18 +0200 |
You can monitor the parent process of the worker processes + set the start script for your application as "start program" in monit configuration. You can find gearman configuration example here for example: http://www.darkcoding.net/software/setting-up-monit-on-ubuntu/ check process gearmand with pidfile /var/run/gearman/gearmand.pid start program = "/etc/init.d/gearman-job-server start" stop program = "/etc/init.d/gearman-job-server stop" On Aug 11, 2010, at 5:56 AM, Jose Castro wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |