Client Connectivity Settings
This page discusses different client connectivity configuration options to prevent deadlock situations and ensure efficient resource management.
Bad Client Detection
One such scenario involves prolonged send operations on a socket, which can potentially lead to deadlocks. These sockets can be automatically reset using the Bad Client Detection feature with a combination of ClientSocketSendTimeout property. By default, this setting is disabled.
<add key="NCacheServer.EnableBadClientDetection" value="false"/>
The ClientSocketSendTimeOut property defines the time interval (in seconds) after which a client socket is reset if a deadlock occurs. The default value is 10 seconds, and it cannot be set to less than 1 second.
<add key="NCacheServer.ClientSocketSendTimeOut" value="10"/>