From a5fa821b96659aa5b19fbf766492f6125dbd05cc Mon Sep 17 00:00:00 2001 From: youkaichao Date: Thu, 25 Sep 2025 21:14:57 +0800 Subject: [PATCH] [misc] log info messages by default for hanging / busy / idle (#25627) Signed-off-by: youkaichao Signed-off-by: yewentao256 --- vllm/distributed/device_communicators/shm_broadcast.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/vllm/distributed/device_communicators/shm_broadcast.py b/vllm/distributed/device_communicators/shm_broadcast.py index deeed1f21b4e1..499c6927f2f90 100644 --- a/vllm/distributed/device_communicators/shm_broadcast.py +++ b/vllm/distributed/device_communicators/shm_broadcast.py @@ -390,10 +390,11 @@ class MessageQueue: # if we wait for a long time, log a message if (time.monotonic() - start_time > VLLM_RINGBUFFER_WARNING_INTERVAL * n_warning): - logger.debug( + logger.info( ("No available shared memory broadcast block found" " in %s seconds. This typically happens when some" - " processes are hanging."), + " processes are hanging, doing some time-consuming" + " work (e.g. compilation), or sitting idle."), VLLM_RINGBUFFER_WARNING_INTERVAL, ) n_warning += 1 @@ -454,10 +455,11 @@ class MessageQueue: # if we wait for a long time, log a message if (time.monotonic() - start_time > VLLM_RINGBUFFER_WARNING_INTERVAL * n_warning): - logger.debug( + logger.info( ("No available shared memory broadcast block found" " in %s seconds. This typically happens when some" - " processes are hanging."), + " processes are hanging, doing some time-consuming" + " work (e.g. compilation), or sitting idle."), VLLM_RINGBUFFER_WARNING_INTERVAL, ) n_warning += 1