SIM 16.0.1 Managed Server Consumes All CPU Resources Upon Being Started

(Doc ID 2335158.1)

Last updated on DECEMBER 11, 2017

Applies to:

Oracle Retail Store Inventory Management - Version 16.0.1 and later
Information in this document applies to any platform.

Symptoms

In Store Inventory Management (SIM) version 16.0.1 the processing of some messages in MPS_STAGED_MESSAGE (Direct Store Delivery processing) can cause a lock when they are picked up by the MPS_WORKTYPE's.
The system experiences an error which causes the CPU spike and the following error occurs:

ORA-00054 resource busy


This query actually boils down to:

SELECT * FROM DSD WHERE EXISTS (SELECT NULL FROM DSD_LINE_ITEM WHERE PURCHASE_ORDER_ID = ?)

The above query will try to fetch all the records from DSD's, which currently in customer environment is 4.5+ million records.


The issue can be reproduced at will with the following steps:

    1. Starting the SIM Server;
    2. Make sure that DSD's records are in MPS_STAGED_MESSAGE;
    3. All of the CPU resources are being consumed by a single SIM Server Process and ORA-00054 resource busy are occurred.



Changes

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms