Configuring GemStone on MacOS

These are some steps that should be done on MacOS in order fot GemStone to work ok.

They are based on the installation instructions are at GemStone/S 64 Bit™ 3.6.1 Installation Guide

Add an entry for gemstone to the service database (/etc/services)

gs64ldi 50377/tcp #GemStone/S 64 Bit 3.6.1

Update the settings for the size of shared memory segments

sysctl -w kern.sysv.shmall=1572864

sysctl -w kern.sysv.shmmax=6442450944

To check the values use

sysctl kern.sysv.shmall

sysctl kern.sysv.shmmax

If there are issues check these are some things to check.

The environmental variable GEMSTONE is set to that location of the gemstone directory.

env | grep GEM

PATH includes the gemstone commands