As documented in the GemStone/S Installation Guide for HPUX, it is
necessary to use the HPUX setmemwindow command when logging
into a system using a shared page cache larger than 1 GB. Failure
to do so will result in the following error message:
************************************************************************
topaz> login
-----------------------------------------------------
GemStone: Error Fatal
The session was unable to start a cache page server on host 'myhost'.
Reason: GemStone could not attach to the shared memory segment with
id XXXXXXX.
(First attach attempt at arbitrary address.)
shmat() error = errno=13, EACCES, Authorization failure
(permission denied)
Help:
Operating system kernel not configured for shared memory?
SHR_PAGE_CACHE_SIZE_KB too large for kernel con
Error Category: [GemStone] Number: 4139 Arg Count: 0
topaz>
************************************************************************
To avoid this error, perform the following:
For Linked sessions:
At the unix prompt, first execute setmemwindow, then the GBS/topaz command.
For example (assuming you're using a csh shell):
csh> setmemwindow -i 42 -b csh
csh> topaz -l
Note that you must know the windowID used for your particular
GemStone installation (42 in this example).
For RPC session:
Since the gem process is spawned by the netldi process, netldi must have
been started under setmemwindow. For example:
csh> setmemwindow -i 42 -b csh
csh> startnetldi -a gsadmin -g
Refer to you GemStone HPUX Installation Guide and the man page for
setmemwindow for further information.
Remember to use setmemwindow when starting any GemStone process using
a shared page cache larger than 1 GB. Refer to the GemStone HPUX
installation guide for details.
Last updated: