Bug 30192 - RFE: add to rc.sysinit to warn if swap is not 2X physical memory
RFE: add to rc.sysinit to warn if swap is not 2X physical memory
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
David Lawrence
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2001-03-01 13:50 EST by Mark Rusk
Modified: 2014-03-16 22:19 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-03-01 13:51:02 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Mark Rusk 2001-03-01 13:50:58 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.75 [en] (X11; U; Linux 2.4.1-0.1.9smp i686)

2.4 kernels act wierd if swap is less than 2 time physical memory. 
rc.sysinit should warn user that swap is too small.

Reproducible: Always
Steps to Reproduce:
1. add script to rc.sysinit after swap files are turned on.

if [ $((`grep SwapTotal: /proc/meminfo|cut -c11-23`/`grep MemTotal:
/proc/meminfo| cut -c11-23`)) -lt 2 ]; then
echo "Warning: Swap space should be 2X physical memory."
echo "Please increase size or number of swap files/partitions."
Comment 1 Bill Nottingham 2001-03-01 17:05:36 EST
No, this is really the wrong place for this sort of thing; it should
go in the documentation/release-notes.

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