monit-dev
[Top][All Lists]
Advanced

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

RE: depend take 2


From: Rory Toma
Subject: RE: depend take 2
Date: 17 Dec 2002 17:29:24 -0800

I went ahead in the last checkin and set max_tries to Run.polltime and
re-check every second. We can easily set this to whatever, but I'd
prefer that it be a static value (so testing is easier).


On Tue, 2002-12-17 at 16:42, Jan-Henrik Haukeland wrote:
> Anyway, I still think that moint should suspend itself as litle as possible in
> the start program phase, max 10 seconds and if that doesn't work it should
> break out of the start-program+depend loop with a warning message in the log.
> Besides it will retry again on the next cycle anyway. This is better than to
> (worst case) sleep Run.polltime for a program. Monit should instead then go on
> to the next program that needs to be started.
> 
> Jan-Henrik
> 
> 
> > > Besides if a program does not manage to create a pidfile in 10 seconds
> > > something is wrong.
> > >
> >
> > Not true. If you are doing some kind of connection testing, it may well
> > take a full poll cycle to come up.
> 
> 
> 
> 
> _______________________________________________
> 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]