My Oracle Support Banner

MSS Cartridge: Exhausted Ports and/or Threads, Out of Memory- PortRangeSocketFactory: no free port between {NBR} and {NBR} (Doc ID 2767725.1)

Last updated on JUNE 26, 2023

Applies to:

Oracle Communications Network Integrity - Version and later
Oracle Communications MetaSolv Solution - Version 6.3.1 and later
Information in this document applies to any platform.


A Socket Factory range of 20 ports was configured between Network Integrity (NI) and MetaSolv Solution (MSS). On the 3rd device discrepancy, a BindException is thrown when attempting to connect to the MSS server because there are no free ports.  They have not been released - " PortRangeSocketFactory: no free port between 42970 and 42990". After five connection retry attempts, a "org.omg.CORBA.TRANSIENT" error is thrown for retries exceeded.

NOTE: The behavior may be experienced as an out of memory, or, exhausted thread problem (java.lang.OutOfMemoryError: unable to create new native thread) running in environments where the Socket Factory range ports has not been restricted. configuration





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.