Bug 216677 - install devours memory when the kickstart keyword repo is used
Summary: install devours memory when the kickstart keyword repo is used
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 6
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: James Antill
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-21 14:53 UTC by stef
Modified: 2008-03-06 00:05 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-03-06 00:05:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description stef 2006-11-21 14:53:34 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.1) Gecko/20060601 Firefox/2.0 (Ubuntu-edgy)

Description of problem:
when you create in the kickstart an entry with the new keywords 'repo' to use extras repositories, the install devours the memory eventualy leading to a crash.

added this in the ks.cfg I use, I have a server mirroring the fedora ones

repo --name=core --baseurl=http://yum/fedora/linux/core/6/i386/os/
repo --name=updates --baseurl=http://yum/fedora/linux/core/updates/6/i386/
repo --name=extras --baseurl=http://yum/fedora/linux/extras/6/i386/
repo --name=livna --baseurl=http://yum/livna/6/i386/



Version-Release number of selected component (if applicable):


How reproducible:
Always


Steps to Reproduce:
1.configure repos in ks.cfg
2.start install, crashes at around 80-85% of install
3.

Actual Results:
crashes at around 80-85% of install

Expected Results:
installs

Additional info:

Comment 1 Chris Lumens 2006-11-21 16:08:24 UTC
Please attach the error message you are receiving to this bug.  Also, what
package selections are you making in the %packages section of your kickstart file?

Comment 2 stef 2006-11-21 16:36:21 UTC
just the install crashing red screen scrolling fast with rpmdb errors

rpmdb: PANIC: fatal region error detected; run recovery error: db4

Here's the %packages section

%packages
@base
@base-x
@admin-tools
@gnome-software-development
@development-tools
@development-libs
@x-software-development
@gnome-desktop
@web-server
@mysql
@office
@sound-and-video
@system-tools
@legacy-software-development
@legacy-software-support
@editors
@graphics
@text-internet
@ruby
@authoring-and-publishing
@graphical-internet
@french-support
@engineering-and-scientific
libXp
-gaim
-xchat


Comment 3 Jeremy Katz 2006-11-28 18:10:02 UTC
How much memory does your machine have?

Comment 4 stef 2006-11-29 08:54:24 UTC
The box where it happens has 1Gb RAM and I configured kickstart to create a 2Gb
SWAP partition on disk

Comment 5 Orion Poplawski 2006-12-01 22:58:25 UTC
I seem to be seeing this as well on a 512MB Core 2 Duo Latitude D620.

I've had successful installs with this same kickstart file on other machines
before now though.  Maybe we've just finally grown big enough to cause problems...


Comment 6 Orion Poplawski 2006-12-01 23:22:30 UTC
I'm not sure it's a memory issue though.  anaconda process size does grow for a
while when installing packages (as seen by top), to around 25%, but gets down to
about 3-5% again by the time of the crash.  Unless that is really just showing
the anaconda process being slowing push to swap?  

May just be a frail rpmdb (again)?  I've been seeing problems on a box upgraded
from FC5.

Comment 7 Orion Poplawski 2006-12-02 00:00:35 UTC
Okay, free is now showing 141632k swap used, so memory is an issue.

Comment 8 David Cantrell 2007-03-15 22:28:45 UTC
Is this still happening with rawhide or a Fedora 7 test release?

Comment 9 Orion Poplawski 2007-03-26 16:18:01 UTC
(In reply to comment #8)
> Is this still happening with rawhide or a Fedora 7 test release?

Hard to test for a couple reasons:

- immediate but fixable: bug #231543 - multiple repositories are currently broken.

- harder - I didn't notice this problem until FC6 had been in production for a
while the the updates repo had gotten to an appreciable size.  Not sure how to
similate this for testing.

Comment 10 Orion Poplawski 2007-05-23 20:03:08 UTC
I filed a new bug #241062, but I guess it's really a duplicate of this one, but
it points out the cause.  rpms are building up in /tmp/cache/<repo>/packages and
filling up ram.  This is why it showed up after fc6 had been released one enough
updates got released.


Note You need to log in before you can comment on or make changes to this bug.