Error: No buffer space available (maximum connections reached?)
book
Article ID: KB0075746
calendar_today
Updated On:
Products
Versions
Spotfire Server
7.5 and higher
Description
TIBCO Spotfire Web Player might go unresponsive with the following error in the server.log file.
WARN 2020-01-21T10:10:15,690+0000 [heartbeat-63568] server.http.HttpCallable: Failed to send HeartBeatCommand request to 'https://company.domain.com:9443/spotfire/nodemanager/command' : No buffer space available (maximum connections reached?): connect org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://company.domain.com:9443/spotfire/nodemanager/command": No buffer space available (maximum connections reached?): connect; nested exception is java.net.SocketException: No buffer space available (maximum connections reached?): connect Caused by: java.net.SocketException: No buffer space available (maximum connections reached?): connect
This issue can be seen if the TIBCO Spotfire Node Manager server has too many active client connections due to which the ephemeral TCP ports are all used up and in this case no more can be allocated to a new client connection request. The default number of ephemeral TCP ports is 5000 but if all those are continuously occupied, this number needs to be increased.
Issue/Introduction
Web Player services go offline and "No buffer space available (maximum connections reached?)" is seen in Node Manager logs.
Resolution
The workaround to get rid of this issue is to follow the steps below.
Open "Registry Editor" with administrator privilege
Navigate to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters"
Add a variable name "MaxUserPort" type REG_DWORD and set its value to 65534.
Reboot the TIBCO Spotfire Node Manager machine
Note: Before making any registry changes, it is highly recommended to discuss with the Server Administrator.