Bug 64953

Summary: 32M memory + 32M swap insufficient for minimal install
Product: [Retired] Red Hat Linux Reporter: Need Real Name <d-lewart>
Component: anacondaAssignee: Michael Fulbright <msf>
Status: CLOSED NOTABUG QA Contact: Brock Organ <borgan>
Severity: high Docs Contact:
Priority: medium    
Version: 7.3CC: robertk
Target Milestone: ---   
Target Release: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-05-15 00:45:36 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 Need Real Name 2002-05-15 00:45:30 UTC
Description of Problem:
* Minimal install on machine w/32M memory + 32M swap burps thusly:
  -------------------------------------------------------------------------
  Traceback (innermost last):
    File "/usr/bin/anaconda", line 633, in ?
      intf.run(id, dispatch, configFileData)
    File "/usr/src/build/90289-i386/install//usr/lib/anaconda/text.py",
      line 427, in run
    File "/usr/src/build/90289-i386/install//usr/lib/anaconda/dispatch.py",
      line 144, in gotoNext
    File "/usr/src/build/90289-i386/install//usr/lib/anaconda/dispatch.py",
      line 209, in moveStep
    File "/usr/src/build/90289-i386/install//usr/lib/anaconda/packages.py",
      line 573, in doInstall
    File "/usr/src/build/90289-i386/install//usr/lib/anaconda/syslogd.py",
      line 63, in start
  OSError: [Errno 12] Cannot allocate memory
  -------------------------------------------------------------------------
* Install failed
* However, install with 32M memory + 64M swap worked fine


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


How Reproducible:
* Find a machine with 32M memory and try installing with 32M swap


Steps to Reproduce:
1. Use Disk Druid to partition 32M for swap
2. Custom install
3. Uncheck all packages
4. Watch it give the error message above

Actual Results:
* Nasty error message and failure


Expected Results:
* Perfect install


Additional Information:
* What is the minimum memory/swap requirement?

Comment 1 Michael Fulbright 2002-05-20 19:26:25 UTC
You need more than 32M of swap if you only have 32M of RAM.

Comment 2 Need Real Name 2002-05-20 23:34:57 UTC
Thanks!  The documentation:

http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/install-guide/s1-diskpar
titioning.html#S2-DISKPARTRECOMMEND

says the following:
> The size of your swap partition should be equal to twice your computer's RAM,
> or 32 MB, whichever amount is larger, but no more than 2048 MB (or 2 GB).

In addition, the 7.1 Release Notes:

http://www.redhat.com/docs/manuals/linux/RHL-7.1-Manual/release-notes/s1-install
-changes.html

recommend more swap space than the 7.3 manual does.  I'm not sure how
Disk Druid allocates swap.