monit-dev
[Top][All Lists]
Advanced

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

Re: monit cvs version broken


From: Rory Toma
Subject: Re: monit cvs version broken
Date: 03 Dec 2002 17:32:47 -0800

I believe I've fixed the below problem, but the p->do_validate flag
getting stomped on has me stumped.

It appears that if I do

"monit stop foo"

do_validate is set correctly to 0 all thru everywhere. Then,
mysteriously, the code in p.y that sets it to the default value of TRUE
(or 4, in this case) is called when the for (;;) loop in monitor.c is
called again. I don't know why it does this.

On Tue, 2002-12-03 at 01:16, Martin Pala wrote:
> Hi,
> 
> i'm testing present monit CVS version - it seems unstable (it failed on 
> four nodes in the night - i'll try to find the cause).
> 
> In addition there is restart method broken in control.c (i fixed one 
> part of problem). If monit restarts process, it calls as first 
>  check_process() for stop and in that case it toggles visited flag. Next 
> it calls same function again for start, but it returns, because it was 
> visited (by stop method), so monit will stop the service and it never 
> starts
> 
> Martin
> 
> 
> 
> _______________________________________________
> 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]