Caché Parameter File Reference
locksiz
[Back] [Next]
   
Server:docs1
Instance:LATEST
User:UnknownUser
 
-
Go to:
Search:    

Maximum size of shared memory for locks.
Synopsis
[config]    locksiz=n
Description
Size (in bytes) of memory allocated for locks. The system rounds up the value to the next multiple of 64 kilobytes. The default is 1179648 bytes. (On the IBM AIX and HP-UX platforms, the default is 33554432 bytes.) The range is 65536 bytes up to the gmheap size. If you need more room for the lock table, increase the gmheap parameter as well. If you edit this setting, changes will take effect immediately.
Examples
locksiz=786432
locksiz=1179648
Range of Values
65536 bytes up to the size of gmheap. Since memory used to allocate locks is taken from gmheap (the Generic Memory Heap), you cannot use more memory for locks than exists in gmheap. Memory from gmheap is also used for NLS tables and the PID table. If you increase the size of locksiz, increase the size of gmheap as well.
On all platforms, except for HPUX, the default amount of memory allocated for locks (the maximum size of the lock table) is 1179648 bytes. On the HPUX platform, the default amount of memory allocated for locks is four times the default on other platforms; that is 4 * 1179648 (4718592) bytes.
Management Portal
On the page System Administration > Configuration > Additional Settings > Advanced Memory , in the locksiz row, select Edit. Enter a number of bytes.