monit-general
[Top][All Lists]
Advanced

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

RE: Monitor multiple processes?


From: Jan Johansson
Subject: RE: Monitor multiple processes?
Date: Wed, 7 Apr 2004 09:59:20 +0200

> What kind of program are your monitoring? It's seems strange that a
> program forks off 4 independent processes and that you need to monitor
> all of them. (Usually it's enough to monitor the parent process,
> e.g. apache using a preforked model).

No, 4 independent programs, but they are interconnected on a data
exchange level. If one goes, the whole chain is broken.

> If this is the case you can utilize some simple synchronization
> techniques in the stop/start script shared by the processes and called
> by monit. Using a lock-file is probably the easiest.

*doh* Didn't even think of that. Thanks. Ill go with that option.




reply via email to

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