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 use theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter.Modify the parameter
The
systenant can modify this parameter, but user tenants cannot.
Attributes
| Attribute | Description |
|---|---|
| Type | Time |
| Default value | 3s
NoteStarting with V4.0.0, the default value has been adjusted 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
dead_socket_detection_timeoutis set to 0, socket-level fault detection is disabled.When
dead_socket_detection_timeoutis greater than 0, socket-level fault detection is enabled. If the send side does not receive a response from the receiving side within the specified time, the socket is considered unavailable.
Examples
Set the dead socket detection timeout to 3s.
obclient> ALTER SYSTEM SET dead_socket_detection_timeout= 3s;