RP/MSQ V5.0 (UNIX,NT) - pams_attach_q consumes huge amount of memory when reading a corrupted saf file (Doc ID 776876.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle MessageQ / MessageQ / 5.0
Information in this document applies to any platform

Goal

DESCRIPTION:
Their client application attaches using CLS, but consumes the entire global memory on the system. The memory never
decreases and that application stays up. However, no other client applications can attach to the system anymore.

We finally narrowed this problem to a corrupt saf file, and reproduced the problem both on customer's system and our
system using dmqcltest. 

Problem:
When there is a "corrupt" SAF file in the MRS directory on the client system, the pams_attach_q consumes
huge amounts of memory when reading this SAF file.

CONFIGURATION:
MessageQ for UNIX, V5.0-RP25 (as well as latest RP31)
HP-UX 11i (32 bit)

Solution

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