monit-general
[Top][All Lists]
Advanced

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

[monit] Problem restarting a process


From: Arut Selvan
Subject: [monit] Problem restarting a process
Date: Thu, 28 Aug 2008 04:18:40 -0500

Hello Folks,
 
I am using monit version 3.2 on my Redhat 7.3 based system to monitor and restart processes.
when process plum  gets killed by user manually monit doesn't restart it sometimes ( 3 out of 10 times).
However, if I change the mode to active from manual, it seems to restart it always.
Now the problem is when I sent the fix for review someone pointed out that we use manual mode
by default in our project and also in active mode monitor won't monitor for the cpuusage/memusage criteria.
Is that assumption true? Please clarify ?
 
I would like to know if it is a bug in monit code. My organization would not allow me to upgrade to a newer
version of monit right now, so I need to fix the issue in the current version of monit itself.
 
Appreciate your suggestions.
 
Thanks,
Arut
 
check plum with pidfile /opt/cbz/var/run/plum.pid
        start program = "/etc/init.d/plum start"
        stop program = "/etc/init.d/plum stop"
        cpuusage > 60.0 for 3 cycles restart
        memusage > 35.0 restart
        mode manual
 
bash-2.05a# monit -V
This is monit version 3.2
Copyright (C) 2000-2003 by Contributors to the monit codebase
bash-2.05a#
 

--
Nothing says Labor Day like 500hp of American muscle
Visit OnCars.com today.

reply via email to

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