Use the following methods to check for normal IPC resources:
Use ftok to obtain the key for each database file that can legitimately be open. Verify that each key corresponds to one shared memory segment with at least one attached process and one semaphore set with three semaphores.
Use ftok to obtain the key for each Global Directory that can legitimately be used by a primary or secondary instance.
Verify that each key corresponds to one shared memory segment with at least one attached process and one semaphore set with three semaphores.
Verify that each key with the leading 0x43 replaced by 0x44 corresponds to one shared memory segment with at least one attached process and one semaphore set with four semaphores.
IPC resources that cannot be accounted for should be a source of concern. Investigate these resources using the following process of elimination:
Eliminate resources with keys corresponding to all known GT.M database files and global directories.
Eliminate resources used by applications.
Eliminate resoures used by UNIX (as a first approximation, these will be owned by root).
Investigate anything that remains.
On UNIX machines, you can use a system log to record the number of times this facility runs by appending the following line to the /etc/syslog.conf file:
*.debug<path>/syslog