My Oracle Support Banner

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

Last updated on FEBRUARY 02, 2022

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 8.1.7 to 10.2]
Information in this document applies to any platform.


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.


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

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