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.
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."
No, this is really the wrong place for this sort of thing; it should
go in the documentation/release-notes.