a. Determine the size of the installed RAM: Run SAM and choose:
Performance Monitors –> System Properties —> Memory
b. Find out how much swap is currently configured on your system:
/usr/sbin/swapinfo
3. Increase the swap space if necessary. You have two options:
–> Manually
–> Using SAM
4. Verify the paging size and the kernel settings if you are not installing a standalone DB
server.
Setting up Swap Space Manually
1. Create a logical volume:
lvcreate -n <LVName> /dev/<VGName>
2. Define size and allocate the logical volume to a disk:
lvextend -L <size in MB> /dev/<VGName>/<LVName>
/dev/dsk/<diskdevice>
3. Add the following entry to the file /etc/fstab:
/dev/<VGName>/<LVName> /swap swap defaults 0 0
4. Activate the swap space with the command:
/usr/sbin/swapon -a
5. Check activation with the command:
/usr/sbin/swapinfo -tm
Setting up Swap Space Using SAM
1. Enter the command
/usr/sbin/sam
2. Select
Disks and Filesystems à Swap à Actionsà
–> Add Device Swap à Using the LVM
3. Choose a partition for swap and choose OK.
4. Exit SAM.
Verify paging space size and kernel settings
1. Execute memlimits, to verify paging space size and kernel settings.
a. Unpack the file memlimits:
cd <INSTDIR>
/<CD-DIR>/UNIX/<OS>/SAPCAR
-xgvf /<CD-DIR>/UNIX/<OS>/SAPEXE.SAR memlimits
b. Start memlimits.
For a 32-bit SAP kernel, enter: ./memlimits
For a 64-bit SAP kernel, enter: ./memlimits -l 20000
2. If error messages occur, increase your paging space and rerun memlimits until it is
error free.