nagios 3.0b3 abnormal cpu load ?
Sven Bauknecht
sbauknecht at gmail.com
Mon Sep 10 10:38:43 CEST 2007
Hi,
I can`t see any CPU problems with nagios 3.0b3. My System is a Virtuozzo
VM with Ubuntu dapper running Kernel 2.6.9.
This is a Testbox so there only about 10 Checks running.
Could this be a kernel 2.4.x issue? - Just a thought...
Regards,
sven
<zitiere wer="SCHAER Frederic">
> Hi,
>
>
>
> I'm trying to setup a nagios 3.0b3 server, and I configured it with only
> one host, one check (ping).
>
> I can successfully start nagios, but I have concerns about the server
> cpu load : that's around 99% cpu usage all the time, on a P4 3GHz
> machine...
>
>
>
> Is there something I could do to decrese this load ? I tried installing
> a nagios 2.9 server using the same configuration, and the load caused by
> nagios is just ... 0.
>
> I guess this is a bug in the beta 3 ?
>
>
>
> Increasing the sleep time in nagios.cfg does not help at all even if I
> put sleep_time=2500 (2500 seconds !)
>
>
>
> Any suggestions would be welcome :-)
>
>
>
> P.S : I compiled nagios on a 2.4.21 linux kernel, using gcc 3.2.3, don't
> know if this could help. I don't see many usefull things with maximum
> debug verbosity...
>
>
>
>
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>
> http://get.splunk.com/_______________________________________________
> 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
--
mail : sbauknecht at pizzatimer.de
web : http://www.sbauknecht.de
No no no. Don't use kill -9.
It doesn't give the process a chance to cleanly:
1) shut down socket connections
2) clean up temp files
3) inform its children that it is going away
4) reset its terminal characteristics
and so on and so on and so on.
Generally, send 15, and wait a second or two, and if that doesn't work,
send 2, and if that doesn't work, send 1.
If that doesn't, REMOVE THE BINARY because the program is badly behaved!
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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