diff --git a/vllm/v1/engine/core.py b/vllm/v1/engine/core.py index 13a50a4f855e2..975ce11fe8aff 100644 --- a/vllm/v1/engine/core.py +++ b/vllm/v1/engine/core.py @@ -198,7 +198,7 @@ def signal_handler(signum, frame): except Exception: traceback = get_exception_traceback() logger.error("EngineCore hit an exception: %s", traceback) - parent_process.send_signal(signal.SIGQUIT) + parent_process.send_signal(signal.SIGUSR1) finally: if engine_core is not None: diff --git a/vllm/v1/executor/multiproc_executor.py b/vllm/v1/executor/multiproc_executor.py index b19c15826c6a0..3cd62b7fe5619 100644 --- a/vllm/v1/executor/multiproc_executor.py +++ b/vllm/v1/executor/multiproc_executor.py @@ -39,11 +39,11 @@ def __init__(self, vllm_config: VllmConfig) -> None: # and ensure workers will be terminated. self._finalizer = weakref.finalize(self, self.shutdown) - # The child processes will send SIGQUIT when unrecoverable + # The child processes will send SIGUSR1 when unrecoverable # errors happen. def sigusr1_handler(signum, frame): logger.fatal( - "MulitprocExecutor got SIGQUIT from worker processes, shutting " + "MulitprocExecutor got SIGUSR1 from worker processes, shutting " "down. See stack trace above for root cause issue.") # Propagate error up to parent process. parent_process = psutil.Process().parent() @@ -350,10 +350,10 @@ def signal_handler(signum, frame): logger.debug("Worker interrupted.") except Exception: - # worker_busy_loop sends exceptons to Executor + # worker_busy_loop sends exceptions exceptons to Executor # for shutdown, but if there is an error in startup or an # error with IPC itself, we need to alert the parent. - psutil.Process().parent().send_signal(signal.SIGQUIT) + psutil.Process().parent().send_signal(signal.SIGUSR1) raise finally: