Nagios 3.0b7 High CPU Load FreeBSD 6.2
Mike Brown
jmb287 at gmail.com
Mon Dec 10 19:09:04 CET 2007
Hi Andrew,
Didn't seem to solve the issue.... The output of ktrace seems to be the
same no matter if libmap is there or not
here is the output from BEFORE the libmap.conf change
98795 nagios RET kse_release -1 errno 22 Invalid argument
98795 nagios CALL kse_release(0xbfbfe460)
98795 nagios RET kse_release -1 errno 22 Invalid argument
98795 nagios CALL kse_release(0xbfbfe460)
98795 nagios RET kse_release -1 errno 22 Invalid argument
98795 nagios CALL kse_release(0xbfbfe460)
98795 nagios RET kse_release -1 errno 22 Invalid argument
98795 nagios CALL kse_release(0xbfbfe460)
98795 nagios RET kse_release -1 errno 22 Invalid argument
98795 nagios CALL kse_release(0xbfbfe460)
98795 nagios RET kse_release -1 errno 22 Invalid argument
98795 nagios CALL kse_release(0xbfbfe460)
98795 nagios RET kse_release -1 errno 22 Invalid argument
98795 nagios CALL kse_release(0xbfbfe460)
98795 nagios RET kse_release -1 errno 22 Invalid argument
98795 nagios CALL kse_release(0xbfbfe460)
98795 nagios RET kse_release -1 errno 22 Invalid argument
98795 nagios CALL kse_release(0xbfbfe460)
98795 nagios RET kse_release -1 errno 22 Invalid argument
98795 nagios CALL kse_release(0xbfbfe460)
98795 nagios RET kse_release -1 errno 22 Invalid argument
98795 nagios CALL kse_release(0xbfbfe460)
98795 nagios RET kse_release -1 errno 22 Invalid argument
98795 nagios CALL kse_release(0xbfbfe460)
98795 nagios RET kse_release -1 errno 22 Invalid argument
98795 nagios CALL kse_release(0xbfbfe460)
98795 nagios RET kse_release -1 errno 22 Invalid argument
98795 nagios CALL kse_release(0xbfbfe460)
98795 nagios RET kse_release -1 errno 22 Invalid argument
98795 nagios CALL kse_release(0xbfbfe460)
98795 nagios RET kse_release -1 errno 22 Invalid argument
98795 nagios CALL kse_release(0xbfbfe460)
here is the output from AFTER the libmap.conf change
98688 nagios CALL kse_release(0xbfbfe490)
98688 nagios RET kse_release -1 errno 22 Invalid argument
98688 nagios CALL kse_release(0xbfbfe490)
98688 nagios RET kse_release -1 errno 22 Invalid argument
98688 nagios CALL kse_release(0xbfbfe490)
98688 nagios RET kse_release -1 errno 22 Invalid argument
98688 nagios CALL kse_release(0xbfbfe490)
98688 nagios RET kse_release -1 errno 22 Invalid argument
98688 nagios CALL kse_release(0xbfbfe490)
98688 nagios RET kse_release -1 errno 22 Invalid argument
98688 nagios CALL kse_release(0xbfbfe490)
98688 nagios RET kse_release -1 errno 22 Invalid argument
98688 nagios CALL kse_release(0xbfbfe490)
98688 nagios RET kse_release -1 errno 22 Invalid argument
98688 nagios CALL kse_release(0xbfbfe490)
98688 nagios RET kse_release -1 errno 22 Invalid argument
98688 nagios CALL kse_release(0xbfbfe490)
98688 nagios RET kse_release -1 errno 22 Invalid argument
98688 nagios CALL kse_release(0xbfbfe490)
98688 nagios RET kse_release -1 errno 22 Invalid argument
98688 nagios CALL kse_release(0xbfbfe490)
98688 nagios RET kse_release -1 errno 22 Invalid argument
98688 nagios CALL kse_release(0xbfbfe490)
98688 nagios RET kse_release -1 errno 22 Invalid argument
98688 nagios CALL kse_release(0xbfbfe490)
98688 nagios RET kse_release -1 errno 22 Invalid argument
98688 nagios CALL kse_release(0xbfbfe490)
98688 nagios RET kse_release -1 errno 22 Invalid argument
98688 nagios CALL kse_release(0xbfbfe490)
98688 nagios RET kse_release -1 errno 22 Invalid argument
98688 nagios CALL kse_release(0xbfbfe490)
98688 nagios RET kse_release -1 errno 22 Invalid argument
98688 nagios CALL kse_release(0xbfbfe490)
On 10/12/2007, Andrew Ivanov <a.ivanov at e-port.ru> wrote:
>
>
> Hi Mike,
> You may want to do ktrace: ktrace -dip $(cat nagios.lock); sleep 10;
> ktrace
> -C; kdump | more
> If you'll see many kse_release calls, then it's definitely threads issue.
>
> Try to use libc_r.so instead of libpthread.so, like this:
>
> /etc/libmap.conf
>
> [/usr/local/nagios/bin/nagios]
> libpthread.so.2 libc_r.so.6
> libpthread.so libc_r.so
>
> With best regards,
> Andrew.
>
>
> From: nagios-devel-bounces at lists.sourceforge.net
> [mailto:nagios-devel-bounces at lists.sourceforge.net] On Behalf Of Mike
> Brown
> Sent: Monday, December 10, 2007 7:00 PM
> To: nagios-devel at lists.sourceforge.net
> Subject: [Nagios-devel] Nagios 3.0b7 High CPU Load FreeBSD 6.2
>
>
> Hi,
> installed Nagios 3.0b7 on a FreeBSD 6.2 based system.
>
> With the default config samples Nagios starts up and becomes a
> daemon.
>
> Within a couple of minutes the CPU load reached 99.07
>
> 91306 nagios 1 120 0 2420K 1900K CPU1 1 585:37 99.02%
> nagios
>
> The machine is a dual CPU Dell 1650 rackmount box
>
> The nagios cgi web page never shows the example host going to a UP
> state. It always stays "PENDING" for checks.
>
>
> Not sure what to do at this point. Thanks in advance for any help.
>
>
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20071210/884a49df/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel
More information about the Developers
mailing list