The operating system shared memory default, for most Linux releases is 32MB. The minimum required by Adaptive Server is 64MB for default Server with 2K pages. Higher value is required if you plan to increase Adaptive Server’s total memory.
Use the sysctl(8) method to check and adjust the operating system shared memory parameter.
To check the current shared memory size, enter:
# /sbin/sysctl kernel.shmmax
To adjust the shared memory size:
# /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. On SuSE systems, the file that needs to be edited to apply this change after each start is /etc/init.d/boot.local.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |