monit-dev
[Top][All Lists]
Advanced

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

Re: Problems with depend


From: Rory Toma
Subject: Re: Problems with depend
Date: 05 Nov 2002 12:21:26 -0800

OK, I know what is going on, and I think I can fix it. I'll have to make
sure that we don't stop/start programs that are already stopped/started.

On Tue, 2002-11-05 at 04:31, Jan-Henrik Haukeland wrote:
> 
> I have the following simple setup in monitrc
> 
> check apache (..) depend foobar
> check foobar (..) 
> 
> When I run 'monit restart' in the console, monit stop and start too
> many instances of my foobar test program. The last one is a bit
> serious since the original pid-info is lost. This is an excerpt from
> the log file when I run the above mentioned command:
> 
> [CET Nov  5 13:25:52] stop: (foobar) /home/hauk/bin/tst
> [CET Nov  5 13:25:52] stop: (apache) /usr/local/apache/bin/http
> [CET Nov  5 13:25:52] stop: (foobar) /home/hauk/bin/tst
> [CET Nov  5 13:26:02] stop: (foobar) /home/hauk/bin/tst
> [CET Nov  5 13:26:02] start: (apache) /usr/local/apache/bin/http
> [CET Nov  5 13:26:02] start: (foobar) /home/hauk/bin/tst
> [CET Nov  5 13:26:02] start: (foobar) /home/hauk/bin/tst
> 
> Do you have time to check this out Rory?
> 
> -- 
> Jan-Henrik Haukeland
> 
> 
> _______________________________________________
> monit-dev mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/monit-dev
> 
-- 
Rory Toma               address@hidden
VP of Run Level 5       http://www.trs80.net
Digeo Digital           http://www.digeo.com

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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