Setting operating system shared memory

The operating system shared memory default for most Linux releases is 32MB. The minimum required by Adaptive Server is 64MB with a default Server at 2K pages. You must increase the default to increase the total amount of memory available to Adaptive Server.

To check the current shared memory size, enter:

# /sbin/sysctl kernel.shmmax

To adjust the shared memory size, enter:

# /sbin/sysctl -w kernel.shmmax=nnn

where nnn is the new size in bytes (at least 64MB which is 67108864 bytes).

To guarantee that this value is applied every time the system is started, add the above line to your /etc/rc.d/rc.local file or, on SuSE systems, /etc/init.d/boot.local.