Processes hanging - Nagios 3rc1 on FreeBSD
Oriol Capsada
oriolc at voztele.com
Fri Dec 28 14:57:19 CET 2007
Hi Alex,
Alex French wrote:
> Hi,
>
> Running rc1 on FreeBSD 5.4-RELEASE. Compiled both from ports and from
> original source (no difference in syptoms).
>
> - Nagios starts fine, no errors, I can see all the service checks as
> "pending" through the CGI interface after startup.
>
> - The service checks get run (I can see the temp output files in the
> check_results directory) but the status never gets updated, and the
> child process hangs around forever hogging memory & cpu.
>
> I have tried modifying the reaper timer as per the FAQ, but it makes
> no difference (and anyway I only have the default sample localhost
> services configured so this shouldn't be the issue).
>
> Any suggestions on how to debug this?
You can try to debug it with ktrace and kdump. With ktrace you'll get a
kernel trace of the chosen PID and with kdump you'll be able to make the
output readable.
In nagios 2 there was a bug with FreeBSD and threads, where sometimes
the main nagios process got stuck in calls similar to:
7484 nagios CALL kse_release(0xbfbf9c30)
7484 nagios RET kse_release -1 errno 22 Invalid argument
Maybe the same problem is ocurring in version 3.
Regards,
Oriol.
-------------------------------------------------------------------------
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