My Oracle Support Banner

Oci Client Sockets Remain Open On Solaris (Doc ID 1329320.1)

Last updated on MARCH 04, 2022

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.2 [Release 10.2 to 11.2]
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.

Symptoms


A TCP Socket descriptor is leaked for OCISessionBegin even though OCISessionEnd or OCIServerDetach is called. In 10.2, one is leaked for every call to OCISessionBegin whereas only one is leaked per program in 11g.  The OCIHandleFree call is supposed to free up this handle but it doesn't either.

If you encounter this issue, lsof command from another window will show output like the following as long as the program has not ended.:

cdemo82 1033 oracle 6u IPv4 TCP no TCP/UDP/IP information available

Note: In this case cdemo82 was the program and this socket  will be leaked even if you add the necessary OCIHandleFree calls

Changes

none

Cause

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
Symptoms
Changes
Cause
Solution
References


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