From owner-freebsd-current@FreeBSD.ORG Wed Jul 28 08:32: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 E4DCD16A4CE for ; Wed, 28 Jul 2004 08:32:59 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BF3643D1D for ; Wed, 28 Jul 2004 08:32:58 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i6S8WqwX072227 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 28 Jul 2004 09:32:52 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i6S8WqGX072226; Wed, 28 Jul 2004 09:32:52 +0100 (BST) (envelope-from matthew) Date: Wed, 28 Jul 2004 09:32:52 +0100 From: Matthew Seaman To: Aurelien Nephtali Message-ID: <20040728083252.GA72137@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Aurelien Nephtali , freebsd-current@freebsd.org References: <20040728081719.GA17127@nebula.wanadoo.fr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CE+1k2dSO48ffgeK" Content-Disposition: inline In-Reply-To: <20040728081719.GA17127@nebula.wanadoo.fr> User-Agent: Mutt/1.5.6i X-Greylist: Message not sent from an IPv4 address, not delayed by milter-greylist-1.5.3 (smtp.infracaninophile.co.uk [0.0.0.0]); Wed, 28 Jul 2004 09:32:53 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040705, clamav-milter version 0.74a on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-current@freebsd.org 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 08:33:00 -0000 --CE+1k2dSO48ffgeK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 --=20 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 --CE+1k2dSO48ffgeK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBB2S0iD657aJF7eIRAtMkAJsFNjVjdxY6CY0W+f9Qlh9FjimflQCbBbo/ Bce9cOJYh2RIWWz48BPNRlI= =/5ui -----END PGP SIGNATURE----- --CE+1k2dSO48ffgeK--