Note
This parameter is available starting with V2.2.50.
Description
dead_socket_detection_timeout specifies the interval for detecting dead sockets.
Privilege requirements
Query the parameter
The
systenant and all user tenants can query this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify the parameter
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Time |
| Default value | 3s
NoteStarting from V4.0.0, the default value of this parameter is changed from 10s to 3s. |
| Value range | [0s, 2h] |
| Modifiable | Yes. You can use the ALTER SYSTEM SET statement to modify the parameter. |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
Considerations
When the value of
dead_socket_detection_timeoutis 0, socket-level failure detection is disabled.When the value of
dead_socket_detection_timeoutis greater than 0, socket-level failure detection is enabled. If the sending end does not receive a response from the receiving end within the specified time, the current socket is considered unavailable.
Examples
Set the interval for detecting dead sockets to 3s.
obclient> ALTER SYSTEM SET dead_socket_detection_timeout= '3s';