]> 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)
committerJule Anger <janger@samba.org>
Wed, 2 Oct 2024 14:34:13 +0000 (14:34 +0000)
commit2c8dfff7d9e33dadf14df76bccb978cb955d4952
tree4194b787796c3ec46cf2a86943575c34b18e75cf
parent71568683ca70986296a7c8b06b755c380f2e1620
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>
(cherry picked from commit d8613d7ee23c4e990285a387eb9ac2eeefff9749)
source3/smbd/open.c