Re: 'sort' tool is eating my system ressources

From: Aurelien Nephtali (aurelien.nephtali_at_wanadoo.fr)
Date: 07/28/04

  • Next message: Willem Jan Withagen: "Re: Fatal LOR: PV ENTRY (UMA zone) @ /home2/src/sys/vm/uma_core.c:2033"
    Date: Wed, 28 Jul 2004 11:53:56 +0200
    To: freebsd-current@freebsd.org
    
    

    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
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Willem Jan Withagen: "Re: Fatal LOR: PV ENTRY (UMA zone) @ /home2/src/sys/vm/uma_core.c:2033"

    Relevant Pages

    • Re: sort tool is eating my system ressources
      ... Sounds like portupgrade is building an INDEX file. ... message about running 'portsdb -Uu' if it is. ... pretty much the expected impact I'd expect from doing that. ...
      (freebsd-current)
    • Re: Purpose of INDEX file
      ... Gerard Seibert writes: ... > is if I need the file if I am not using 'portupgrade'. ... > 'portmanager' which claims it does not require the INDEX file. ...
      (freebsd-questions)
    • Re: sort tool is eating my system ressources
      ... > Sounds like portupgrade is building an INDEX file. ... > pretty much the expected impact I'd expect from doing that. ... Jiawei Ye ...
      (freebsd-current)
    • Re: port upgrade hell
      ... > You have to first update your portupgrade to a newer version that ... > knows about the format of the new INDEX file, then you can use the new ... > portupgrade to update the rest of the ports..I thought this had ...
      (comp.unix.bsd.freebsd.misc)
    • Purpose of INDEX file
      ... I know that 'portupgrade' uses the INDEX file. ... Gerard Seibert ... To unsubscribe, ...
      (freebsd-questions)