Multiple Nagios proccesses running.

Andreas Ericsson ae at op5.se
Mon Aug 15 09:14:07 CEST 2005


Brian Murphy wrote:
> 
> Hi Guys
> 
> I see this too in my 2.0b4 instance. I suspect they extra processes are forked 
> passive check processors in my case trying to pass back results to the master 
> process but ending up in a state where it never happens.
> 
> This after trying to follow my way through the code and running strace and 
> truss on the nagios - and child processes.
> 
> Some of the extra processes dissappear but not all of them, if we leave it 
> overnight it will stop our overspecced proliant.
> 
> This is not a daemon starting issue but a check result processing issue.
> 
> Any suggestions how to address this?
> 

Two methods have been suggested and prototyped.
Either fire up the checking-threads via fork(), dup() execve() and 
multiplex all checks, or run a separate thread (as opposed to a fork()) 
for each check and use shared memory for inter-thread communication. 
With some sort of limit on the number of pending check-results this 
could be done fairly easily. Each thread could even handle the results 
themselves, provided proper locking is in place.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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





More information about the Users mailing list