WINDOWS: Listener Hangs & Lsnrctl Commands Are Slow or Hang

(Doc ID 1319797.1)

Last updated on NOVEMBER 07, 2017

Applies to:

Oracle Net Services - Version 11.1.0.7 to 12.2.0.1 [Release 11.1 to 12.2]
Microsoft Windows x64 (64-bit)
Microsoft Windows (32-bit)
This issue is limited to the Windows OS.
***Checked for relevance on 17-JAN-2017***

Symptoms


Check this location: $ORACLE_BASE\diag\tnslsnr\<hostname>\listener\trace\

The listener.log might contain messages similar to the following DBGRL error being repeated throughout:

DBGRL Error: SLERC_OERC, 48180



Also, on Windows 32-bit, you may find the following errors reported when attempting to check services or connect through the listener:

TNS-12571: TNS:packet writer failure
  TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
      32-bit Windows Error: 54: Unknown error


The lsnrctl utility might return the following error stack when checking the status of the listener:


LSNRCTL> status listener
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1521)))
  TNS-12547: TNS:lost contact
    TNS-12560: TNS:protocol adapter error
      TNS-00517: Lost contact
        64-bit Windows Error: 54: Unknown error


Or the lsnrctl status command might hang altogether.  i.e. Returns no response.

Changes

No recent changes have taken place on this server.   It is likely that this installation has been in place for some time as the listener.log has grown to at or near 4G in size.  It is also likely that ADR diagnostic for the listener is enabled on this server.  i.e. No DIAG_ADR_<listener_name>=OFF in listener.ora.

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