Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Feb 2006 20:37:25 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Ulrich Spoerlein <q@galgenberg.net>
Cc:        ports@freebsd.org, "\[LoN\]Kamikaze" <LoN_Kamikaze@gmx.de>
Subject:   Re: portupgrade slow
Message-ID:  <20060207203725.61f12be9@Magellan.Leidinger.net>
In-Reply-To: <20060207181150.GH1060@galgenberg.net>
References:  <43E711DB.40608@gmx.de> <20060207181150.GH1060@galgenberg.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Am Tue, 7 Feb 2006 19:11:50 +0100
schrieb Ulrich Spoerlein <q@galgenberg.net>:

> [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/



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