nagios process count increasing

Morten Bekkelund morten.bekkelund at ergo.no
Wed Dec 7 15:58:20 CET 2005


We've had the same problems.
Earlier when we used active checks from the topnode in our distributed
system, we had to restart nagios when the number of nagios processes
went too high (or the server would crash). We had a script that
restarted nagios whenever the number got too high.
Lately we reconfigured our solution to using passive host checks and it
solved the problem. Seems the topnode gets too busy with active checks.

A possibility would be to let the leafnodes run the active checks and
then send the results to the topnode via nsca by using performance data.


morten

-----Original Message-----
From: James S. White [mailto:james at jameswhite.org] 
Sent: 7. desember 2005 15:50
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] nagios process count increasing

I am running nagios in an distributed environment and when I start
nagios
on the central server I see an increasing number of nagios processes
with
the parent process of init.

$ ps -ef | grep na[g]ios | awk '{if($3==1){print $0}}' | wc -l
   129
$ ps -ef | grep na[g]ios | awk '{if($3==1){print $0}}' | wc -l
    141
$ ps -ef | grep na[g]ios | awk '{if($3==1){print $0}}' | wc -l
    155

This keeps growing until the server goes down. I just upgraded to 2.0b6
but was seeing this in 2.0b4 as well. The distributed server does not
see this.

Any ideas?

-----------------------------------------------------------------------
James S. White                             primary/voip: (615) 469-0268
928 Mountain Valley Dr.          .O.             mobile: (256) 476-2619
Nashville, TN 37209              ..O               work: (615) 341-8218
http://www.jameswhite.org        OOO        work-mobile: (615) 519-5160
james at jameswhite.org                                fax: (866) 260-5465
-----------------------------------------------------------------------
"Computers are useless. They only give you answers." -- Pablo Picasso



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
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