Oci Client Sockets Remain Open On Solaris
(Doc ID 1329320.1)
Last updated on FEBRUARY 03, 2019
Applies to:Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 22.214.171.124 - Release: 10.2 to 11.2
Information in this document applies to any platform.
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
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