monit-dev
[Top][All Lists]
Advanced

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

Re: Problems with depend


From: rory
Subject: Re: Problems with depend
Date: Tue, 5 Nov 2002 09:36:13 -0800 (PST)

>

I'll check it out. I assume that running monit stop and monit start do the
right thing? I may have forgotten to test the "restart" case.
> 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







reply via email to

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