Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Dec 2011 20:35:34 GMT
From:      Garrett Cooper <yanegomi@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/163489: databases/tdb hangs frequently on larger CPU systems
Message-ID:  <201112202035.pBKKZYSj054632@red.freebsd.org>
Resent-Message-ID: <201112202040.pBKKe7hX025966@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



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