Skip to content

bug: LMCache cacheserver OOMKilled #923

Description

@suleimanelkhoury

Describe the bug

The External LMCache server crashes constantly after 1 hour when the server gets full, getting OOMKilled and restarting. The problem is as follows:

  • Everytime the LMCache cacheserver restarts, the running models lose connection to it and returns a similar error:
    2026-04-17 14:52:34,143] LMCache ERROR: Put task failed for key CacheEngineKey(model_name='/root/.cache/vllm/assets/model_streamer/2d5f1fab', world_size=1, worker_id=0, chunk_hash=6579154256786137649, dtype=torch.bfloat16, request_configs=None, tags=None, _dtype_str='bfloat16'): [Errno 32] Broken pipe (remote_backend.py:220:lmcache.v1.storage_backend.remote_backend)
  • In the asset file https://github.com/vllm-project/production-stack/blob/main/helm/values.yaml there is no eviction policy, which may be causing the problem.

To Reproduce

The assets file: https://github.com/vllm-project/production-stack/blob/main/helm/values.yaml

Expected behavior

The old KVCache entries getting deleted, and the new ones taking its place, something similar to defining the LMCACHE_CACHE_POLICY in https://docs.lmcache.ai/api_reference/configurations.html, which responsible for defining the eviction policy for LMCache.

Additional context

LMCache supports S3 connection, this might also be a good solution instead of evicting old entries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions