hundreds of procs

Skip Montanaro skip at pobox.com
Wed Jun 18 17:38:17 CEST 2003


    DTerrell> I have 81 hosts and 91 services being passively monitored on
    DTerrell> this machine.  What would a possible suggestion of hardware
    DTerrell> be?

I have 150+ hosts and 200+ services and am running Nagios 1.1 with no
problem on a Powerbook (800Mhz, 1GB ram).  This is my day-to-day machine
(XDarwin, XEmacs, lots of mail is filtered through Spambayes via procmail,
etc).  Load average at the moment is within normal bounds:

    % w
    10:18AM  up 4 days, 18:37, 3 users, load averages: 0.14, 0.34, 0.34
    USER    TTY FROM              LOGIN@  IDLE WHAT
    skip     co -                Fri03PM 4days -
    skip     p2 -                Fri03PM 4days -
    skip     p5 :0.0             Tue11AM     0 -

and top reports a fair amount of available RAM (612MB inactive, 83.2MB
free).

There are only a few Nagios-related processes running at any time:

    % while true ; do
    > ps auxww | egrep -h nagios | egrep -v egrep | wc -l
    > sleep 10
    > done
           3 
           7 
           3 
           5 
           1 
           3 
           1 
           1 
           ...

A bunch of things that come to mind (mostly just thinking out loud):

* Maybe you are getting a huge blast of checks all at once.  Does your
  scheduling page show the scheduled checks to be suitably staggered?

* Did you maybe extend the sleep_time configuration parameter?  That would
  tend to synchronize checks.

* Is your inter_check_delay_method set to 's'?

* Perhaps it's a network speed issue (does "netstat -in" show a lot of
  errors or collisions?)

* Perhaps the hosts you're monitoring are loaded enough themselves that they
  respond very slowly to the Nagios requests.

* Have you tried shortening up your service_check_timeout?  The default is
  60 seconds.  Most tests should run very quickly.

* Maybe you just need to bug your boss to buy you a Powerbook. ;-)

-- 
Skip Montanaro
skip at pobox.com
Got spam? http://spambayes.sf.net/


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
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