My Oracle Support Banner

Example of How to Clear Shared Memory by Running Rmipc.sh for ALM, FTP, & PFT (Doc ID 2022163.1)

Last updated on AUGUST 15, 2023

Applies to:

Oracle Financial Services Funds Transfer Pricing - Version 6.1 and later
Oracle Financial Services Asset Liability Management - Version 6.1 and later
Oracle Financial Services Profitability Management - Version 6.1 and later
Information in this document applies to any platform.
Oracle Financial Services Analytical Applications (OFSAA)

Goal

Below is an example of how to run the rmipc.sh script in $FIC_DB_HOME/bin to clear shared memory from the server for Oracle Financial Services Asset Liability Management (ALM), Funds Transfer Pricing (FTP), and Profitability Management (PFT).

Run this script when getting errors like the following:

Module Logging OFS errors: semctl failed, errno = 22, file ipcmutex.cpp, line 294
or
Module Logging OFS errors: semget failed, errno = 28, file ipcmutex.cpp, line 197
or
Module Logging OFS errors: semop failed, errno = 22, file ipcmutex.cpp, line 384
or
Module Logging OFS errors: Out of Shared Memory

See related Document 1322871.1 "Is There Any Script to Clean Hanging Semaphores and Shared Memory Segments Generated From OFSAA"

Note: The script will always consider only the first 8 characters of the user-id, while determining the list of open semaphores/shared-memory arrays.
CAUTION: Please be aware that if using AIX platforms, this script will also kill your AM process since the AM process also creates semaphores in AIX. Any process under the OFSAA Unix ID provided which creates semaphores or shared memory segments may be killed. This is documented in Bug: 20207177 rmipc.sh script kills am process. Also, be careful if OFSAA has been installed using the same Unix user as installed Oracle database as this script will clean up all semaphores / shared memory arrays used by the Oracle database. The script is not meant to be used in a batch process.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.