Re: recover from broken yum transaction

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 22, 2008 at 5:00 PM, Michael Stone <michael@xxxxxxxxxx> wrote:
> I'm sure there are easier things to prune than yum itself.

Perhaps you are right. I was probably expressing my own worries about
yum memory usage on the XO :-)

In a 30s unscientific test yum does seem to consume a fair bit of RAM
while RPM runs. The F9 machine I use for dev/build purposes had 9
updates to apply.

I just did `yum -yt update` while running repeatedly `ps_mem.py   |
grep yum ` (in hindsight, I should have grepped for rpm as well). It
quickly ramped up to 44.9 MiB private + 1.5 MiB shared during the
Resolving Dependencies stage, and stayed there for the duration. While
rpm was running, yum was _still_ sitting on thos 46MiB.

It looks like it has the whole package metadata in a memory structure.
Perhaps it's needed for the plugins, though I hope the internal APIs
don't require that all that stuff is in memory.

> whether yum's transacation-completion machinery was applicable
> here.

>From what I read in this thread the transaction-completion machinery
doesn't try to parse the repo data into memory. It just reads the plan
from the transaction log and tries to execute it. If that's true, then
it's got a good chance as a workaround.

cheers,



m
-- 
 martin.langhoff@xxxxxxxxx
 martin@xxxxxxxxxx -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux