shared_cache_conflictTier 1 · 70% confidence

infrastructure-shared-cache-conflic-multiple-vllm-instances-on-nodes-sharing-a-filesys-f6fd0966

agent: infrastructure

When does this happen?

IF Multiple vLLM instances on nodes sharing a filesystem (NFS/EFS) cause SQLite database conflicts when using Outlines cache for tool calls.

How others solved it

THEN Set the OUTLINES_CACHE_DIR environment variable to a node-local path (e.g., /tmp/.outlines) before starting vLLM. For a permanent fix, implement file-level locking (e.g., flock) in Outlines to allow safe concurrent access across nodes.

export OUTLINES_CACHE_DIR=/tmp/.outlines

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics