From owner-freebsd-stable@FreeBSD.ORG Thu Jan 3 18:48:13 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 0D7E916A419 for ; Thu, 3 Jan 2008 18:48:13 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id C096513C455 for ; Thu, 3 Jan 2008 18:48:12 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost1.sentex.ca (8.13.8/8.13.8) with ESMTP id m03ImBdg084940 for ; Thu, 3 Jan 2008 13:48:11 -0500 (EST) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.8/8.13.3) with ESMTP id m03ImBvZ012746 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 3 Jan 2008 13:48:11 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <200801031848.m03ImBvZ012746@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Thu, 03 Jan 2008 13:50:15 -0500 To: freebsd-stable@freebsd.org From: Mike Tancsa In-Reply-To: <2D5923AA-F9C3-490A-8016-F4B3BCCCA4AF@khera.org> 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> <2D5923AA-F9C3-490A-8016-F4B3BCCCA4AF@khera.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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 18:48:13 -0000 At 10:55 AM 1/3/2008, Vivek Khera wrote: 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.) Same here. We were getting quite a few Nagios threads spinning their wheels (almost 1 per day) with 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: Sun Dec 2 running Nagios 2.5. Changing to libthr fixed the problem and we have yet to see a stuck thread since making the change. ---Mike