Jump to content

Connect Leeroopedia MCP: Equip your AI agents to search best practices, build plans, verify code, diagnose failures, and look up hyperparameter defaults.

Principle:LMCache LMCache Disaggregated Shutdown

From Leeroopedia


Knowledge Sources
Domains Infrastructure, Resource_Management
Last Updated 2026-02-09 00:00 GMT

Overview

A graceful shutdown pattern that terminates all processes and releases network resources in a disaggregated prefill-decode deployment.

Description

Disaggregated Shutdown handles orderly termination of the multi-process disaggregated deployment. It sends kill signals to prefiller, decoder, and proxy processes, waits for cleanup, and ensures NIXL transfer channels and ZMQ contexts are properly destroyed.

Usage

Trigger shutdown via Ctrl+C or SIGTERM to the orchestration script, which propagates signals to all child processes.

Theoretical Basis

Cleanup order:

  1. Send SIGTERM to prefiller, decoder, proxy processes
  2. PDBackend.close() joins background threads and closes NIXL channels
  3. ZMQ contexts are terminated
  4. PID files are removed

Related Pages

Implemented By

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment