From owner-freebsd-current@FreeBSD.ORG Sun Jul 29 17:19:59 2012 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 630AC106564A for ; Sun, 29 Jul 2012 17:19:59 +0000 (UTC) (envelope-from mm@FreeBSD.org) Received: from mail.vx.sk (mail.vx.sk [IPv6:2a01:4f8:150:6101::4]) by mx1.freebsd.org (Postfix) with ESMTP id B030A8FC08 for ; Sun, 29 Jul 2012 17:19:58 +0000 (UTC) Received: from core.vx.sk (localhost [127.0.0.2]) by mail.vx.sk (Postfix) with ESMTP id 6283439CE3; Sun, 29 Jul 2012 19:19:51 +0200 (CEST) X-Virus-Scanned: amavisd-new at mail.vx.sk Received: from mail.vx.sk by core.vx.sk (amavisd-new, unix socket) with LMTP id pSwFd9ex-De9; Sun, 29 Jul 2012 19:19:49 +0200 (CEST) Received: from [10.0.0.28] (unknown [213.81.198.162]) by mail.vx.sk (Postfix) with ESMTPSA id AA6B339CDA; Sun, 29 Jul 2012 19:19:49 +0200 (CEST) Message-ID: <501570B5.1090200@FreeBSD.org> Date: Sun, 29 Jul 2012 19:19:49 +0200 From: Martin Matuska User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; sk; rv:1.8.1.23) Gecko/20090812 Lightning/0.9 Thunderbird/2.0.0.23 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: "O. Hartmann" References: <50141F96.5070808@zedat.fu-berlin.de> In-Reply-To: <50141F96.5070808@zedat.fu-berlin.de> X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: "freeb >> Current FreeBSD" Subject: Re: r238860: bsdtar: eating up 100% CPU, hanging X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jul 2012 17:19:59 -0000 Do you still have this problem after r238882? Dňa 28. 7. 2012 19:21 O. Hartmann wrote / napísal(a): > When updating ports (like databases/sqlite3 or graphics/png via > portmaster graphics/png), the installation process comes to a point > where a backup of the old port is created with bsdtar. The process hangs > then: > > ===>>> Starting build for graphics/png <<<=== > > ===>>> All dependencies are up to date > > > ===>>> Creating a backup package for old version png-1.5.12 > load: 1.38 cmd: bsdtar 99286 [running] 1301.04r 1296.34u 0.00s 100% 5656k > > > And a look on top: > > last pid: 3365; load averages: 1.49, 1.44, 1.41 > up 0+04:39:08 > 19:17:44 > 65 processes: 2 running, 63 sleeping > CPU: 50.4% user, 0.0% nice, 1.0% system, 0.0% interrupt, 48.6% idle > Mem: 521M Active, 3599M Inact, 3424M Wired, 32M Cache, 826M Buf, 323M Free > ARC: 1970M Total, 672M MRU, 1224M MFU, 48K Anon, 46M Header, 28M Other > Swap: 32G Total, 32G Free > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU > COMMAND > 99286 root 1 103 0 71724K 5672K CPU1 1 24:10 100.00% > bsdtar > 1339 root 1 21 0 3221M 38008K select 1 3:02 1.71% > Xorg > 3364 ohartmann 28 20 0 634M 301M uwait 1 0:06 0.63% > thunderbird > 737 root 1 20 0 16520K 1492K select 0 0:42 0.00% > moused > 3286 ohartmann 22 20 0 681M 368M uwait 1 0:14 0.00% > firefox > 1469 ohartmann 1 20 0 72364K 10612K select 1 0:05 0.00% > xterm > > > I can circumvent by doing a make reinstall in the port's directory, but > this doesn't work for ports which copy files around using tar - like > www/firefox and mail/thunderbird (which also get stuck when bsdtar is > involved). > > My operating system is > FreeBSD 10.0-CURRENT #0 r238860: Sat Jul 28 11:28:38 CEST 2012 > > buildworld and kernel from today's sources, ports seem to be up to date, > I updated everything successfully before installing the new world which > seems to be faulty. > > I also recompiled usr.bin/tar separately and installed it, but without > success. > > What to do? > > regards, > > Oliver