From owner-freebsd-ports@FreeBSD.ORG Tue Feb 7 19:37:34 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C05016A420 for ; Tue, 7 Feb 2006 19:37:34 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E8AC43D5A for ; Tue, 7 Feb 2006 19:37:32 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5DBC3.dip.t-dialin.net [84.165.219.195]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id k17JQcJ0065162; Tue, 7 Feb 2006 20:26:44 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id k17JbL3m073673; Tue, 7 Feb 2006 20:37:21 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Tue, 7 Feb 2006 20:37:25 +0100 From: Alexander Leidinger To: Ulrich Spoerlein Message-ID: <20060207203725.61f12be9@Magellan.Leidinger.net> In-Reply-To: <20060207181150.GH1060@galgenberg.net> References: <43E711DB.40608@gmx.de> <20060207181150.GH1060@galgenberg.net> X-Mailer: Sylpheed-Claws 2.0.0 (GTK+ 2.8.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: ports@freebsd.org, "\[LoN\]Kamikaze" Subject: Re: portupgrade slow X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Feb 2006 19:37:34 -0000 Am Tue, 7 Feb 2006 19:11:50 +0100 schrieb Ulrich Spoerlein : > [LoN]Kamikaze wrote: > > On my notebook "portupgrade -a" does nothing for 30 minutes before it > > starts updating ports. The cpu load is maxed the whole time. > > > > On another machine it only takes 15 minutes before starting updates. > > > > Anyway, I remember it starting after a couple of seconds, so I guess > > something goes wrong with parsing the dependencies. Either the latest > > portupgrade is buggy or there is an inconsistency in the ports. > > portupgrade might go and rebuild the INDEX using 'make index', try > running verbose or keep an eye on top(1) or pstree(1) to see what's > happening. > > Also, how many ports do you have installed? What hardware? While 15 to 30 minutes is really long, and I think Ulrich found your problem, portupgrade is a memory hog nowadays... but we have 14k ports which the pgktools keep in a DB in some way (as a graph), so is anyone out there who speaks ruby and is willing to have a look if this can be optimized? Bye, Alexander. -- 0 and 1. Now what could be so hard about that? http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/