When STN_MAX_SESSIONS and keyfile maximum sessions are out of synch,
startstone or login fails with the following misleading error message
in the shrpcmon log:
<SHRPCMON, shell for GemStone SharedPageCache Monitor>
<Taking commands from command line.>
[SpcMon trace]: ... cache creation failed ...
| GemStone could not retrieve the IPC identifier associated with the memory |
| key 1275488407. shmget() error = errno=17, EEXIST, The file already exists.
| |
GemStone could not retrieve the IPC identifier associated with the memory
key 1275488407. shmget() error = errno=43, EIDRM, Identifier removed
(resource such as semaphore or shared memory has been deleted.
GemStone could not attach to the shared page cache.
The Shared Page Cache Monitor is shutting down.
The Shared Page Cache Monitor is shutting down.
This can occur when a Gem's configuration file specifies a
SHR_PAGE_CACHE_NUM_PROCS less than that of the Stone it is logging in
to, or when a keyfile specifies a maximum number of users that is much
less than the STN_MAX_SESSIONS of its configuration file.
Set STN_MAX_SESSIONS in the configuration file to reasonably
close to (or the same as) the keyfile limit.
Last updated: