[Observability] log sub process killing in process manager force kill (#52314)
Signed-off-by: Andy Xie <andy.xning@gmail.com>
Ning Xie committed
Sep 30, 2026 at 14:13 UTC
29773c722b8afd051b499954e51444f07e8b97f6
1 file changed
+5
vllm/utils/system_utils.py
+5
@@ -221,6 +221,11 @@ def kill_process_tree(pid: int):
221
# Send SIGKILL to all children first
222
for child in children:
223
with contextlib.suppress(ProcessLookupError):
224
+ logger.warning(
225
+ "[shutdown] force killing sub process %s pid %d",
226
+ child.name(),
227
+ child.pid,
228
+ )
229
os.kill(child.pid, signal.SIGKILL)
230
231
# Finally kill the parent