From owner-freebsd-questions@FreeBSD.ORG Wed Jan 2 15:40:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15EC016A417; Wed, 2 Jan 2008 15:40:03 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from tomjudge.vm.bytemark.co.uk (tomjudge.vm.bytemark.co.uk [80.68.91.100]) by mx1.freebsd.org (Postfix) with ESMTP id AA67B13C447; Wed, 2 Jan 2008 15:40:02 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from localhost (localhost [127.0.0.1]) by tomjudge.vm.bytemark.co.uk (Postfix) with ESMTP id 83EEC341E7; Wed, 2 Jan 2008 15:26:27 +0000 (GMT) Received: from tomjudge.vm.bytemark.co.uk ([127.0.0.1]) by localhost (tomjudge.vm.bytemark.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9BZpnRNIvyuC; Wed, 2 Jan 2008 15:26:27 +0000 (GMT) Received: from [192.168.255.6] (unknown [192.168.255.6]) by tomjudge.vm.bytemark.co.uk (Postfix) with ESMTP id E9E6B341E5; Wed, 2 Jan 2008 15:26:26 +0000 (GMT) Message-ID: <477BAD2B.8070603@tomjudge.com> Date: Wed, 02 Jan 2008 15:26:35 +0000 From: Tom Judge User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: Michael Butler References: <59DD6CCE263ECD75A7283A7B@ganymede.hub.org> <477A72B8.8010307@protected-networks.net> In-Reply-To: <477A72B8.8010307@protected-networks.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "Marc G. Fournier" , freebsd-stable@freebsd.org, jarrod@netleader.com.au, freebsd-questions@freebsd.org Subject: Re: Nagios + 6.3-RELEASE == Hung Process X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2008 15:40:03 -0000 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: >> >> >> >> 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