> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Tiago Cruz > Sent: Monday, July 17, 2006 5:52 AM > To: [email protected] > Subject: [Nagios-users] A lot of process using nagios > distributed monitor > > I'm using 03 server running nagios 2.4, with distributed arch: > > All the clients have nrpe running. Well, anyway... my problem > is with the Display Server (that was running apache and > nsca): The "nagios" > process start with 1 and after 2 or 3 hours we have a lot "nagios" > process, some like 600 and still increasing until finish the > Swap and crash the machine :-/
I get this on a couple Nagios installations -- something will happen with Nagios (usually on config reloads or restarts) that will cause the Nagios pipe to stop accepting external commands. This willl cause anything trying to use it (in my case, the problem is usually nsca) to hang. If you get enough of these external processes hung, the box dies. I've put in several safeguards against it, including limiting the number of nsca processes xinetd will allow to run, a check through cron that submits an external check result every minute (with a corresponding freshness check in Nagios and an event handler that will restart Nagios if the check doesn't come in), and a script that will 'kill -9' anything owned by Nagios if a certain number of processes is running. I've seen this problem over several years of running Nagios, on Solaris, Debian, Gentoo and Red Hat. Don't know if it's the same one you're seeing, but I've never found a better fix for it. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
