From owner-freebsd-stable@FreeBSD.ORG Thu Jan 3 15:55:30 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DACE16A41A for ; Thu, 3 Jan 2008 15:55:30 +0000 (UTC) (envelope-from vivek@khera.org) Received: from yertle.kcilink.com (thingy.kcilink.com [74.92.149.59]) by mx1.freebsd.org (Postfix) with ESMTP id 70D9B13C442 for ; Thu, 3 Jan 2008 15:55:30 +0000 (UTC) (envelope-from vivek@khera.org) Received: from cocoa.khera.org (unknown [192.168.135.91]) by yertle.kcilink.com (Postfix) with ESMTP id 40A42C943A for ; Thu, 3 Jan 2008 10:55:29 -0500 (EST) Message-Id: <2D5923AA-F9C3-490A-8016-F4B3BCCCA4AF@khera.org> From: Vivek Khera To: freebsd-stable@freebsd.org In-Reply-To: <738861275EBE2BF6D27F547B@ganymede.hub.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Thu, 3 Jan 2008 10:55:28 -0500 References: <59DD6CCE263ECD75A7283A7B@ganymede.hub.org> <477A72B8.8010307@protected-networks.net> <477BAD2B.8070603@tomjudge.com> <1DB78354-EBA2-43D0-A2D6-EFDA4950135B@netleader.com.au> <477C1629.1030604@tomjudge.com> <20080103104129.T36551@wallace.netleader.com.au> <738861275EBE2BF6D27F547B@ganymede.hub.org> X-Mailer: Apple Mail (2.915) Subject: Re: Nagios + 6.3-RELEASE == Hung Process X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2008 15:55:30 -0000 On Jan 2, 2008, at 8:26 PM, Marc G. Fournier wrote: >> My gut feeling is that it's not an architecture issue but more an >> interoperability issue between the Nagios threading code and the >> libpthread() >> threading library. > > As noted in my original report, this isn't a nagios issue per se ... > my first > experience with this issue was with Azureus/java ... so its a > 'threading issue > in general' ... For years now I've been running with libthr as the default threading library as set in libmap.conf. The *only* issue I've run into is with Java, and that requires libpthread. So my libmap.conf looks like this, and everything works really well (including Nagios, mysql, etc.) --cut here-- # use libthr instead of pthread lib libpthread.so.2 libthr.so.2 libpthread.so libthr.so # JDK HotSpot compiler fails randomly with libthr. [java] libpthread.so libpthread.so libpthread.so.2 libpthread.so.2 --cut here--