Bug 422801 - Installer runs machine out of memory due to cached rpms in /tmp
Summary: Installer runs machine out of memory due to cached rpms in /tmp
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: powerpc
OS: Linux
low
high
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-12-13 02:30 UTC by Olof Johansson
Modified: 2007-12-14 20:28 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-12-14 20:28:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Olof Johansson 2007-12-13 02:30:41 UTC
Description of problem:
During install of rawhide, my system (1GB ram) would slow to a crawl after
installing about 800 packages. When looking at /proc/meminfo, almost all of
memory is in Cached.

/tmp is a ramfs, and it seems that anaconda keeps packages in
/tmp/cache/anaconda-base-<date>.ppc/, even after installing them. So after
downloading and installing ~800MB worth of packages, the machine runs out of ram
and starts to page like crazy. Progress slows to a crawl.

This is when installing from NFS share, where I don't see a need to cache at
all. And even if installing from for example HTTP sources, the rpm should be
deleted after installing it.


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

How reproducible:

Steps to Reproduce:
1.Start NFS install on machine with 1GB ram
2.Select install options such that >800MB of RPMs are to be installed
3.Watch it start at a good pace, and slow to a crawl
  
Actual results:


Expected results:


Additional info:

Comment 1 Chris Lumens 2007-12-14 20:28:54 UTC
This will be fixed in the next build of anaconda.  Thanks for the bug report.


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