From 29773c722b8afd051b499954e51444f07e8b97f6 Mon Sep 17 00:00:00 2001 From: Ning Xie Date: Wed, 30 Sep 2026 14:13:24 +0800 Subject: [PATCH] [Observability] log sub process killing in process manager force kill (#52314) Signed-off-by: Andy Xie --- vllm/utils/system_utils.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vllm/utils/system_utils.py b/vllm/utils/system_utils.py index ae09ed2dbe..5b90438dca 100644 --- a/vllm/utils/system_utils.py +++ b/vllm/utils/system_utils.py @@ -221,6 +221,11 @@ def kill_process_tree(pid: int): # Send SIGKILL to all children first for child in children: with contextlib.suppress(ProcessLookupError): + logger.warning( + "[shutdown] force killing sub process %s pid %d", + child.name(), + child.pid, + ) os.kill(child.pid, signal.SIGKILL) # Finally kill the parent