[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[monit] confusing process behaviour
From: |
Nick Upson |
Subject: |
[monit] confusing process behaviour |
Date: |
Thu, 27 May 2010 16:10:53 +0100 |
using monit 4.10, I have a process which has the following config entry
#
check process everyloop with pidfile "/var/run/everyloop.pid"
start program = "/opt/unb/bin/monit-everyloop.sh"
stop program = "/bin/touch /dev/null"
I just want this process run everytime monit checks the processes (2
mins), what is happening is that sometimes this happens and sometimes
it runs every 4 mins, see log output below
[BST May 27 15:32:43] error : 'everyloop' process is not running
[BST May 27 15:32:43] info : 'everyloop' trying to restart
[BST May 27 15:32:43] info : 'everyloop' start: [BST May 27
15:32:43] info : /opt/unb/bin/monit-everyloop.sh[BST May 27
15:32:43] info :
[BST May 27 15:34:44] error : failed to start
[BST May 27 15:36:44] error : 'everyloop' process is not running
[BST May 27 15:36:44] info : 'everyloop' trying to restart
[BST May 27 15:36:44] info : 'everyloop' start: [BST May 27
15:36:44] info : /opt/unb/bin/monit-everyloop.sh[BST May 27
15:36:44] info :
[BST May 27 15:38:44] error : failed to start
[BST May 27 15:40:44] error : 'everyloop' process is not running
[BST May 27 15:40:44] info : 'everyloop' trying to restart
[BST May 27 15:40:44] info : 'everyloop' start: [BST May 27
15:40:44] info : /opt/unb/bin/monit-everyloop.sh[BST May 27
15:40:44] info :
[BST May 27 15:42:44] error : failed to start
[BST May 27 15:42:44] error : 'everyloop' process is not running
[BST May 27 15:42:44] info : 'everyloop' trying to restart
[BST May 27 15:42:44] info : 'everyloop' start: [BST May 27
15:42:44] info : /opt/unb/bin/monit-everyloop.sh[BST May 27
15:42:44] info :
[BST May 27 15:44:44] error : failed to start
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [monit] confusing process behaviour,
Nick Upson <=