Compaq Tru64 UNIX: Setting up Swap Space

1. Determine the size of the installed RAM with the command:
vmstat -P | head -2
2. Determine the allocated swap space with the command:
/usr/sbin/swapon -s
3. Determine the required size of the swap space.
You can find the minimum swap space requirement in the installation documentation in
section Hardware and Software Requirements Check.
If possible, you should use an entire physical disk as swap space partition.
4. Increase the swap space if necessary.
To define additional swap partitions, insert the entry:
/dev/<disk partition> swap<n> ufs sw 0 2 in the file /etc/fstab.
Insert entry /dev/rz1b swap1 ufs sw 0 2
5. To activate new swap partitions, use the command:
/usr/sbin/swapon -a
6. Check the results by using the command:


/usr/sbin/swapon -s
7. Execute memlimits, to verify paging space size and kernel settings.
Do not execute this step if you are installing a standalone DB server.

Make sure that the UNIX kernel, paging space and user limits are already configured
for the SAP System as described in the installation documentation in section
Hardware and Software Requirements Check and in section Compaq: Checking and
Modifying the UNIX Kernel [page 21].
• Unpack the file memlimits:
cd <INSTDIR>
/<CD-DIR>/UNIX/<OS>/SAPCAR -xgvf
/<CD-DIR>/UNIX/<OS>/SAPEXE.SAR memlimits

• Start memlimits. Enter:
./memlimits -l 20000
If error messages occur, increase your paging space and rerun memlimits until it is
error free.

Leave a Comment

Your email address will not be published. Required fields are marked *

CAPTCHA * Time limit is exhausted. Please reload the CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top