Yum is a memory pig to the tune of 3GB

seth vidal skvidal at fedoraproject.org
Mon Mar 24 20:16:19 UTC 2008


On Mon, 2008-03-24 at 13:46 -0500, Bruno Wolff III wrote:
> On Mon, Mar 24, 2008 at 08:23:57 -0400,
>   seth vidal <skvidal at fedoraproject.org> wrote:
> > 
> > sure run yum like this:
> > yum -d 3 update
> >   - look for lines that match this 'time:'
> >   - memory use before you hit 'y' at the prompt
> >   - memory use after you hit 'y' at the prompt
> 
> OK, I'll try that the next few times I use yum (and that is pretty much
> daily) and see if I get it to happen again. I'll try using script to keep
> a record of all of the output, so that if you think of other things to
> ask about later the data will be available.
> 
> I did a yum install after that messages to reinstall the packages that
> were pinning the 386 version of qt-x11 which was blocking updates and
> things went much faster. So you hint that kernel updates may be related
> to the problem might apply.
> 
> This is getting serious enough that perhaps I should open a bugzilla entry
> on the next occurrence. Would you prefer that or keeping things on the test
> list?

Honestly, neither. What you've identified so far isn't a yum bug. The
point where the memory size explodes yum is inside rpm's transaction
callback and memory-wise doing almost nothing.

If you want to file a bug against rpm and cc me on it, that's fine. 

-sv






More information about the fedora-test-list mailing list