From owner-freebsd-questions@FreeBSD.ORG Wed Nov 29 15:04:57 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E39D316A403 for ; Wed, 29 Nov 2006 15:04:57 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out2.blueyonder.co.uk (smtp-out2.blueyonder.co.uk [195.188.213.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C37F43CA6 for ; Wed, 29 Nov 2006 15:04:55 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [172.23.170.137] (helo=anti-virus01-08) by smtp-out2.blueyonder.co.uk with smtp (Exim 4.52) id 1GpQzX-0003ZU-T2; Wed, 29 Nov 2006 15:04:55 +0000 Received: from [82.46.239.57] (helo=[192.168.0.2]) by asmtp-out3.blueyonder.co.uk with esmtp (Exim 4.52) id 1GpQzX-0000WJ-2w; Wed, 29 Nov 2006 15:04:55 +0000 Message-ID: <456DA196.6040505@dial.pipex.com> Date: Wed, 29 Nov 2006 15:04:54 +0000 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.13) Gecko/20061106 X-Accept-Language: en MIME-Version: 1.0 To: David Abrahams References: <87psb85yii.fsf@pereiro.luannocracy.com> <44y7pujox4.fsf@be-well.ilk.org> In-Reply-To: <44y7pujox4.fsf@be-well.ilk.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: portsdb -Uu hung X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Nov 2006 15:04:58 -0000 Are you *sure* it's hung? -U does a "make index" in /usr/ports which takes *forever* as it has to run a make command in *every single port*. If you've just updated your ports tree with cvsup then consider running "make fetchindex" from /usr/ports which just grabs the latest pre-built version and then just doing "portsdb -u", though anything that needs the .db file to be up-to-date will do this automatically. --Alex PS The thread you reference seems to be about portupgrade -a which is confusing since your subject line says portsdb -Uu. Though both part of portupgrade, the similarity ends there. Like Lowell said: >Does it suck up CPU while it's hung? What does top show for CPU usage? You will probably not see any process hogging the cpu as, like I said, it's one short make after another after another after another ... repeat until sick.