Bug 422801

Summary: Installer runs machine out of memory due to cached rpms in /tmp
Product: [Fedora] Fedora Reporter: Olof Johansson <olof>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: rawhideCC: dwmw2
Target Milestone: ---   
Target Release: ---   
Hardware: powerpc   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-12-14 20:28:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.