]> git.ipfire.org Git - thirdparty/samba.git/commit
smbd: add option "smbd lease break:debug hung procs"
authorRalph Boehme <slow@samba.org>
Thu, 4 Apr 2024 17:18:19 +0000 (19:18 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 19 Sep 2024 18:27:33 +0000 (18:27 +0000)
commitd8613d7ee23c4e990285a387eb9ac2eeefff9749
tree7f4216eff26435ff53eb3d5b662a94eb88bbfbaa
parentb45e78871aadca6ae33475bee890736838f44219
smbd: add option "smbd lease break:debug hung procs"

By enabling this a process sending a lease break message to another process
holding a lease will start watching that process and if that process didn't
process the lease break within 10 seconds (cf server_id_watch_waited()), we log
a kernel stack backtrace of that process.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15624

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Ralph Boehme <slow@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source3/smbd/open.c