monit-general
[Top][All Lists]
Advanced

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

Re: monitor multiple instances of the same script


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:

I am using gearman with php to create X number of worker processes in
php.  Can I use monit to start X number of the same php worker
process? How?

--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general


reply via email to

[Prev in Thread] Current Thread [Next in Thread]