Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Jan 2008 15:26:35 +0000
From:      Tom Judge <tom@tomjudge.com>
To:        Michael Butler <imb@protected-networks.net>
Cc:        "Marc G. Fournier" <scrappy@hub.org>, freebsd-stable@freebsd.org, jarrod@netleader.com.au, freebsd-questions@freebsd.org
Subject:   Re: Nagios + 6.3-RELEASE == Hung Process
Message-ID:  <477BAD2B.8070603@tomjudge.com>
In-Reply-To: <477A72B8.8010307@protected-networks.net>
References:  <59DD6CCE263ECD75A7283A7B@ganymede.hub.org> <477A72B8.8010307@protected-networks.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Michael Butler wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Marc G. Fournier wrote:
>> G'day ...
>>
>>   Yesterday, I setup nagios to do some system monitoring ... installed the
>> latest version from ports into a jail, so that I could easily move it around
>> between machines as I upgrade, without losing data ... after about 30 minutes
>> running, I get a second nagios process running (fork?) that takes up ch CPU
>> time as is available, and just hangs there until I kill -9 it ...
> 
> [ .. ]
> 
>> After searching the 'Net a bit, came across this thread:
>>
>> <http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1%5Bmode%5D=1&tx_maillisttofaq_pi1%5BshowUid%5D=7694>;
>>
>> That recommends modifying libmap.conf with:
>>
>> [/usr/local/bin/nagios]
>> libpthread.so.2 libthr.so.2
>> libpthread.so libthr.so
> 
> Thanks for pointing this out. I've had similar problems with nagios but
> hadn't found a solution until I saw your pointer. Sadly, my expertise
> with both thread libraries is sufficiently lacking that I have no clue
> where to start looking for the cause :-(
> 

I have also seen this issue, but have always put it down to the way that
we manage our nagios deployments with cfengine.  I will try to deploy
this change and monitor for the problem to see if it persists.

On a side note if you want to use broker modules with nagios from port
you need to change the following in the port Makefile in order to make
them load properly:

From:
USE_AUTOTOOLS=  autoconf:259
To:
SE_AUTOTOOLS=  autoconf:259 libltdl:15


I sent an email to the maintainer but got no response and my email did
not seem to have affected the last commit to upgrade to 2.10.


Tom




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?477BAD2B.8070603>