Upgrading the memory and or swap fileIn case you are using a pathetic I-B-M foundation server you will find that 2 GB of memory is not enough. Also, if you did a default install you will only have a swap file of 2 GB. In my case I had a faulty 1 GB stick that left me with only 1 GB.
While waiting for some memory to arrive from ebay I decided to create two swap files on two separate disks to temporarily increase the memory capacity. Apparently the kernel will load balance between the two files. (this is of course overkill and pretty pointless but nevertheless it was good to test the mechanism)
Create the swap files
Edit fstabgedit /etc/fstab &
/swapfile1 none swap sw 0 0
/mnt/ADD-DOMINO/swapfile2 none swap sw 0 0 inhere
Switch on the swap fileswapon /swapfile1
Set the swappinessecho 20 > /proc/sys/vm/swappiness
echo 90 > /proc/sys/vm/swappiness
To make this permanent.Edit - /etc/sysctl.conf and adjust vm.swappiness
After my real memory upgrade
I reinstalled this server so the default installer created the swap partition.