Large Number Of Sockets In Close_Wait State

Document ID : KB000044655
Last Modified Date : 14/02/2018
Show Technical Document Details


It may be noticed that the gateway server is having performance issues and there are a

large number of sockets in a close_wait state seen in netstat output taken on the gateway.



This situation is applicable to any gateway version running at

or higher than 8.x or 9.x



This situation can occur for many reasons such as a server

in the environment which is not responding in a timely manner or

not properly terminating the socket connection.



Implement the following changes to enable the gateways state pool functionality

which will limit the number of threads and sockets used per routing assertion

along with terminating stale and unresponsive backend sockets.


add the following to the /opt/SecureSpan/Gateway/node/default/etc/conf/ file:



modify the following cluster wide property from 0s to 5s


Restart the gateway for the changes to take effect.