We have been hit recently by a mon fork problem: after several days
running mon, our monitoring server was running several mon processes.

After looking at the code, we think we have found the problem here:
http://mon.cvs.sourceforge.net/mon/mon/mon?revision=1.25&view=markup ,
lines 5080-5084:

 5080       if (!exec @execargs) {
 5081          syslog ('err', "could not exec alert $alert: $!");
 5082          return undef;
 5083       }
 5084       exit;

The "return" statment looks buggy for us, because mon in the child
process, and execution will continue as if it was the father, thus
creating a new mon "master" process.

Instead of the "return" statment, there should be an "exit" one, isn't
it ?


mon mailing list

Reply via email to