Salesforce

Only one usage of each socket address (protocol/network address/port) is normally permitted

« Go Back

Information

 
TitleOnly one usage of each socket address (protocol/network address/port) is normally permitted
SummaryThe mid-tier hangs with the error "Only one usage of each socket address (protocol/network address/port) is normally permitted" in the mid-tier message log.
URL NameWhat-does-the-error
Resolution
Download e.g. the TCPview tool from  https://technet.microsoft.com/en-us/sysinternals/tcpview and monitor the  number of  TCP/IP connections in a TIME_WAIT state on your Mid-tier machines during the period where you usually get these hangs.

To avoid TCP/IP port exhaustion.
 
  •     If using Mid-tier clones, reduce or disable the clones. Clones are not needed on 64bit machines. 
  •     Increase the port range Key. The default is 5000, max is 65534
                 HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\MaxUserPort
 
  •     Reduce the time key, the connection is in TIME_WAIT state. The default is 4 minutes, a starting value for testing can be e.g. 30 seconds.
               HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\TCPTimedWaitDelay


 
ProductsEnterprise Planning Client Edition; Enterprise Planning Server Edition
ModuleMid-Tier
VersionAll
Error Message Code
"
Error    jda.bi.infrastructure.lore.loader.plugin    JDAAutoLogger::DumpException: An exception has been thrown
Error    jda.bi.infrastructure.lore.loader.plugin         ---->System.Net.Sockets.SocketException
Error    jda.bi.infrastructure.lore.loader.plugin         Message
Error    jda.bi.infrastructure.lore.loader.plugin              Only one usage of each socket address (protocol/network address/port) is normally permitted
"
Cause
Errors are a result of TCP/IP port exhaustion.
Additional Information
Publication StatusPublished

Powered by