Database Hangs with Library Cache Lock and Pin Waits with DBMS_UTILITY package (Doc ID 338367.1)

Last updated on SEPTEMBER 24, 2015

Applies to:

Oracle Server - Enterprise Edition - Version: 8.1.7.4 to 10.2.0.1 - Release: 8.1.7 to 10.2
Information in this document applies to any platform.

Symptoms

Database-wide hang with sessions waiting for 'library cache lock' and 'library cache pin'.

The issue can be verified from a systemstate dump or v$session_wait output.

The object for which the locks and pins are waited on is DBMS_UTILITY package body.

Pin(s) for DBMS_UTILITY are being held in Shared mode by one or more processes which are waiting for 'pipe get'. These processes are using DBMS_PIPE.

Lock(s) for DBMS_UTILITY are being held by one or more processes which are blocked by the DBMS_PIPE users.

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