From 10128ff3a9be2e6e1610ea0d35daff83a0da194c Mon Sep 17 00:00:00 2001 From: George Wilson Date: Wed, 9 Aug 2023 16:05:46 -0400 Subject: [PATCH] DLPX-87360 reduce deadman timer to quickly detect hung socket connection --- files/common/lib/modprobe.d/10-zfs.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/files/common/lib/modprobe.d/10-zfs.conf b/files/common/lib/modprobe.d/10-zfs.conf index b5d5f4d76..1b7aeed0d 100644 --- a/files/common/lib/modprobe.d/10-zfs.conf +++ b/files/common/lib/modprobe.d/10-zfs.conf @@ -122,3 +122,12 @@ options zfs zfs_vdev_open_timeout_ms=180000 # VDB errors (e.g. MSSQL VDB refresh failing). # options zfs zvol_open_timeout_ms=60000 + +# +# The deadman timer is typically used to detect if an I/O is hung. +# On object store pools, the deadman timer check for a hung socket +# connections between the kernel and the agent. Reducing this +# to 1 minute will allow the kernel to detect this condition quickly +# and restart the agent if the connection is hung. +# +options zfs zfs_deadman_synctime_ms=60000