monit-general
[Top][All Lists]
Advanced

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

Re: [CVS] Resource check + autoconf 2.5 + autoheader support


From: Christian Hopp
Subject: Re: [CVS] Resource check + autoconf 2.5 + autoheader support
Date: Fri, 30 Aug 2002 12:13:48 +0200 (CEST)

On 30 Aug 2002, Jan-Henrik Haukeland wrote:

> <address@hidden> writes:
>
> > >
> > > I have just started to test the new process functions you have added,
> > > Christian. I noticed that when a process is stopped it is restarted on
> > > the next cycle. Wouldn't it be better if the behaviour was more like
> > > the timeout function. That is, if the process is stopped for some
> > > reason then it is not validated anymore and thus not started on the
> > > next cycle. The user must explicit start the process again from the
> > > command line or from the web interface. What do you think?
> > >
> > > --
> > > Jan-Henrik Haukeland
> > >
> > >
> > > --
> > > To unsubscribe:
> > > http://mail.freesoftware.fsf.org/mailman/listinfo/monit-general
> >
> > Maybe it should do both. If you have a process with a memory leak that you
> > want to restart at a certain point, this is what you'd want, I'd think.
>
> Yeah, good point. I suggest then that a restart action is added to the
> resource-test to do just that, and that stop actually stops the process.

I have committed a bugfix for do_stop in validate.c to set
p->do_validation to FALSE in a LOCK.   I think that it should work now
like it is supposed to be.

Christian


-- 
Christian Hopp                                email: address@hidden
Institut für Elektrische Informationstechnik             fon: +49-5323-72-2113
Technische Universität Clausthal                         fax: +49-5323-72-3197
  pgpkey: https://www.iei.tu-clausthal.de/pgp-keys/chopp.key.asc  (2001-11-22)





reply via email to

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