recover from broken yum transaction

Ralf Corsepius rc040203 at freenet.de
Mon Sep 22 07:29:07 UTC 2008


On Mon, 2008-09-22 at 16:53 +1200, Martin Langhoff wrote:
> On Mon, Sep 22, 2008 at 4:42 PM, Seth Vidal <skvidal at fedoraproject.org> wrote:
> > Not much - if it's OOM'ing the only real option is:
> >  1. get more memory
> >  2. have it use less memory
> >
> > if you want to pursue 2 that's fine - but to be very clear - everything
> > after:
> > Running RPM Transaction Test
> >
> > is in rpm-land as to trimming out memory/cpu usage. There's very little
> > yum can do there.
> 
> I *think* that what Michael is talking about is that when you get to
> that point yum is still running and can be a substantial part of the
> memory pressure.
> 
> Perhaps yum's memory footprint could be trimmed?
How much memory do you have?

I am able to run yum (FC9) on an i586 w/ 64MB RAM and 256MB swap.

In the past, yum occasionally had OOM'ed, but this hasn't happened for
quite a while. The key to me had been to slim down the kernel memory
requirements (Switching off SELinux worked wonders! This particular
machine OOMs when booting with SELinux enabled)

Ralf







More information about the fedora-devel-list mailing list