From owner-freebsd-amd64@FreeBSD.ORG Mon Mar 9 21:18:17 2009 Return-Path: Delivered-To: freebsd-amd64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B04E106566C; Mon, 9 Mar 2009 21:18:17 +0000 (UTC) (envelope-from andy.lavr@reactor-xg.kiev.ua) Received: from mail.reactor-xg.kiev.ua (reactor-xg.kiev.ua [86.111.64.45]) by mx1.freebsd.org (Postfix) with ESMTP id 93A548FC0A; Mon, 9 Mar 2009 21:18:16 +0000 (UTC) (envelope-from andy.lavr@reactor-xg.kiev.ua) Received: from mail.reactor-xg.kiev.ua (mail.reactor-xg.kiev.ua [86.111.64.45]) by mail.reactor-xg.kiev.ua (Reactor-XG Mailer System) with ESMTP id n29KopAX078609; Mon, 9 Mar 2009 22:50:51 +0200 (EET) (envelope-from andy.lavr@reactor-xg.kiev.ua) Authentication-Results: mail.reactor-xg.kiev.ua; sender-id=pass header.from=andy.lavr@reactor-xg.kiev.ua; auth=pass (PLAIN); spf=pass smtp.mfrom=andy.lavr@reactor-xg.kiev.ua Message-ID: <49B5812B.6050606@reactor-xg.kiev.ua> Date: Mon, 09 Mar 2009 22:50:51 +0200 From: "Andrei V. Lavreniyuk" Organization: Technica-03, Inc. User-Agent: Thunderbird 2.0.0.19 (X11/20090124) MIME-Version: 1.0 To: gavin@FreeBSD.org References: <200903092014.n29KEnWr083177@freefall.freebsd.org> In-Reply-To: <200903092014.n29KEnWr083177@freefall.freebsd.org> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.94.2/9080/Fri Mar 6 21:13:38 2009 on mail.reactor-xg.kiev.ua X-Virus-Status: Clean Cc: freebsd-amd64@FreeBSD.org Subject: Re: bin/132452: System libarchive (bsdtar(1)) blocks work of system. (CPU 100%) X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: andy.lavr@gmail.com List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Mar 2009 21:18:17 -0000 gavin@FreeBSD.org: > Old Synopsis: System libarchive (bsdtar) blocks work of system. (CPU 100%) > Also, could you please run "truss -p pid" on the looping tar process, > and show approximately 100-200 lines of output? Finally, please > run "procstat -kk pid" on the process several times, and show all the > output. 1: # tar --version bsdtar 2.6.901a - libarchive 2.6.901a 2: # tar -c -f test.tar.gz /var/tmp/bdb 3: # truss -p 22082 4: # procstat -kk 22082 PID TID COMM TDNAME KSTACK 22082 100222 bsdtar - 5: last pid: 22127; load averages: 0.97, 0.40, 0.16 up 0+08:04:50 22:40:53 220 processes: 6 running, 193 sleeping, 21 waiting CPU 0: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 1: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 2: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 3: 0.0% user, 0.0% nice, 100% system, 0.0% interrupt, 0.0% idle Mem: 118M Active, 9808K Inact, 1030M Wired, 288K Cache, 320K Buf, 639M Free Swap: 5120M Total, 5120M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME CPU COMMAND 11 root 4 171 ki31 0K 128K CPU0 0 32.0H 300.00% idle 22082 root 1 44 0 8104K 1424K CPU3 0 0:30 100.00% bsdtar -- Best regards, Andrei V. Lavreniyuk.