From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Dec 20 20:40:08 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A3731065670 for ; Tue, 20 Dec 2011 20:40:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B64388FC1B for ; Tue, 20 Dec 2011 20:40:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBKKe76u025967 for ; Tue, 20 Dec 2011 20:40:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBKKe7hX025966; Tue, 20 Dec 2011 20:40:07 GMT (envelope-from gnats) Resent-Date: Tue, 20 Dec 2011 20:40:07 GMT Resent-Message-Id: <201112202040.pBKKe7hX025966@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Garrett Cooper Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9D12106566C for ; Tue, 20 Dec 2011 20:35:34 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 950068FC0A for ; Tue, 20 Dec 2011 20:35:34 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id pBKKZYkL054634 for ; Tue, 20 Dec 2011 20:35:34 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id pBKKZYSj054632; Tue, 20 Dec 2011 20:35:34 GMT (envelope-from nobody) Message-Id: <201112202035.pBKKZYSj054632@red.freebsd.org> Date: Tue, 20 Dec 2011 20:35:34 GMT From: Garrett Cooper To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/163489: databases/tdb hangs frequently on larger CPU systems X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 20:40:08 -0000 >Number: 163489 >Category: ports >Synopsis: databases/tdb hangs frequently on larger CPU systems >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 20 20:40:07 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Garrett Cooper >Release: 9.0-RC3 >Organization: iXsystems, Inc. >Environment: FreeBSD build.ixsystems.com 9.0-RC2 FreeBSD 9.0-RC2 #10 r228184M: Fri Dec 2 12:56:58 PST 2011 delphij@build.ixsystems.com:/usr/obj/build/usr/src/sys/BUILD amd64 >Description: There's an issue (that isn't 100% deterministic, but is pretty close) where there appears to be some contention that prevents databases/tdb from being built on build.ixsystems.com . Just to provide some context: - We encounter this issue frequently when running FreeNAS builds on a nightly basis. The build chroots into an environment and runs the build posing itself as either an 8.x or 9.x build environment. - waf tries to be smart and slams all of the cores with a job per core to make the build 'faster' (I really wish there was an easy way to override this without doing brain surgery on the waf script, but I haven't looked at it too extensively). - waf hangs when configuring/compiling things (I wish I had the log on hand still that shows the exact failure, but unfortunately it's been lost). This is annoying and causes issues when posting nightly images to SourceForge. I'm filing this bug to start the conversation so we can begin to resolve these almost completely deterministic nightly build hangs. >How-To-Repeat: Compile FreeNAS trunk r9242 on an 9.0-RC3 system with at least 16 logical cores using ZFS as the backing filesystem. >Fix: >Release-Note: >Audit-Trail: >Unformatted: