- edited description
Program going to defunct state
Issue #450
duplicate
Hi
We are using monit-5.19.0-linux-x64.
We are having a simple check program in monitrc
check program check_ETLDaemon with path "/ngs/app/scripts/check_ETLDaemon.sh"
if status != 0 then alert
check_ETLDaemon.sh program is also simple
ETLDaemon_var=`ps -ef |grep ETLDaemon.jar|grep -v grep|wc -l`
if [ $ETLDaemon_var -eq 1 ]
then
ETLDaemon_var=0
else
exit 1
fi
We have set the Daemon for 180 seconds. Every time when monit checks the program it goes to defunct state.
host:/ngs/app$ps -ef |grep defunct
etlp 11807 15188 0 22:48 ? 00:00:00 [check_ETLDae] <defunct>
etlp 12273 3642 0 22:50 pts/1 00:00:00 grep defunct
Can you please let us know what is causing the issue
Thanks Suharno
Comments (3)
-
repo owner -
repo owner - changed status to duplicate
Duplicate of #242.
-
reporter We will follow up 242. Thanks for the update.
- Log in to comment