I certainly think you should. the zombie process itself might be unmanageable but there is no reason to not start a new process or to stop monitoring the new process. In fact, instead of doing that, I had to resort to monitoring the PID file for changes.
Moshe Martin Pala wrote: > > Should we allow further monitoring? It can be probably better (more > flexible). > > What do you think? > > > Martin > > > Martin Pala wrote: >> Yes, the idea behind it is that the zombie process is usually >> unmanageable. >> >> Monit thus sends alert and stops the zombie service monitoring. >> >> >> Martin >> >> >> MosheC wrote: >>> Hi, >>> I have the following line check process xxx with pidfile >>> /home/moshe/icpipe/run/xxx.pid >>> Process xxx occasionally becomes a zombie but a new one is created >>> automatically. >>> >>> The problem is that monit automatically stops monitoring the process >>> when it >>> zombies. >>> >>> I have also tried to trick Monit to think it can restart the process >>> itself >>> with: >>> check process xxx with pidfile /home/moshe/icpipe/run/xxx.pid >>> start program = "/bin/true" ### >>> stop program = "/bin/true" ### >>> but that didn't help either. >>> >>> >> >> >> -- >> To unsubscribe: >> http://lists.nongnu.org/mailman/listinfo/monit-general > > > -- > To unsubscribe: > http://lists.nongnu.org/mailman/listinfo/monit-general > > -- View this message in context: http://www.nabble.com/How-can-I-keep-monitoring-a-Zombie-process--tf4564569.html#a13069050 Sent from the monit-general mailing list archive at Nabble.com. -- To unsubscribe: http://lists.nongnu.org/mailman/listinfo/monit-general
