Hello.
I've been using mon for a while now, to monitor about 30 servers, with
different services.
It worked great, using mon-0.99.2-r1 (gentoo).
Now i moved it to another server, dedicated only to monitoring.
It's using the same version, the same mon/auth.cf files.
After few hours of running, i have more than one mon running.
part of the ps ax |grep mon looks like this
17563 ? S 0:00 /usr/bin/perl /usr/sbin/mon -P /tmp/mon.pid -f
17567 ? S 0:00 /usr/bin/perl /usr/sbin/mon -P /tmp/mon.pid -f
17569 ? Z 0:00 [mon] <defunct>
17570 ? S 9:51 /usr/bin/perl /usr/sbin/mon -P /tmp/mon.pid -f
17550 ? S 0:00 /usr/bin/perl /usr/sbin/mon -P /tmp/mon.pid -f
28725 ? S 2:12 /usr/bin/perl /usr/sbin/mon -P /tmp/mon.pid -f
there are more processes, but i only pasted a few (more <defunct> mon's too)
anyone have a solution for this? what's the reason for using a pid file
if it spawns more processes?
the pid file contains the pid of the last process, so it's writable, no
problem there.
i have maxprocs = 200 if that helps.
Thank you very much.
_______________________________________________
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon