From owner-freebsd-current@FreeBSD.ORG Wed Jul 28 09:53:59 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F7F316A4CE for ; Wed, 28 Jul 2004 09:53:59 +0000 (GMT) Received: from mwinf0501.wanadoo.fr (smtp5.wanadoo.fr [193.252.22.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2E9743D31 for ; Wed, 28 Jul 2004 09:53:58 +0000 (GMT) (envelope-from dak@wanadoo.fr) Received: from smtp.wanadoo.fr (ca-sqy-2-124.w80-8.abo.wanadoo.fr [80.8.55.124]) by mwinf0501.wanadoo.fr (SMTP Server) with ESMTP id 812E64002AC; Wed, 28 Jul 2004 11:53:57 +0200 (CEST) Received: from nebula.wanadoo.fr (localhost [127.0.0.1]) by smtp.wanadoo.fr (8.12.11/8.12.11) with ESMTP id i6S9ruUF020071; Wed, 28 Jul 2004 11:53:56 +0200 (CEST) (envelope-from dak@nebula.wanadoo.fr) Received: (from dak@localhost) by nebula.wanadoo.fr (8.12.11/8.12.11/Submit) id i6S9ru4p020070; Wed, 28 Jul 2004 11:53:56 +0200 (CEST) (envelope-from dak) Date: Wed, 28 Jul 2004 11:53:56 +0200 From: Aurelien Nephtali To: freebsd-current@freebsd.org Message-ID: <20040728095356.GA20040@nebula.wanadoo.fr> References: <20040728081719.GA17127@nebula.wanadoo.fr> <20040728083252.GA72137@happy-idiot-talk.infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040728083252.GA72137@happy-idiot-talk.infracaninophile.co.uk> User-Agent: Mutt/1.5.6i cc: m.seaman@infracaninophile.co.uk Subject: Re: 'sort' tool is eating my system ressources X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 28 Jul 2004 09:53:59 -0000 Thanks :) It fixed the problem! On Wed, Jul 28, 2004 at 09:32:52AM +0100, Matthew Seaman wrote: > On Wed, Jul 28, 2004 at 10:17:19AM +0200, Aurelien Nephtali wrote: > > > Each time I launch a 'portupgrade -ak', it takes ~5min to start > > upgrading, eats totally my RAM and ~130Mo of swap... > > Doing a 'top' shows 5-6 occurences of 'sort', each one eating ~26Mo!! > > I can remember that before the 'sort' import, everything was fine! > > Somebody knows why ? or experienced that ? > > Sounds like portupgrade is building an INDEX file. You'll see a > message about running 'portsdb -Uu' if it is. What you've seen is > pretty much the expected impact I'd expect from doing that. > > You should be able to download a recently build INDEX file by running > > # make fetchindex > > before starting your portupgrade -- it's about 6Mb. After doing that > portupgrade will only need to run 'portsdb -u' which is a lot lighter > weight. > > Although if your system can build the INDEX file in 5 minutes, you > might as well let it do that. Takes more like 20 minutes on my > machine. > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks > Savill Way > PGP: http://www.infracaninophile.co.uk/pgpkey Marlow > Tel: +44 1628 476614 Bucks., SL7 1TH UK -- NEPHTALI 'dak' Aurelien TEK1 - Promo 2008