memory_leakTier 1 · 70% confidence

observability-memory-leak-containers-running-litellm-versions-1-76-1-1-79-1--84377e3d

agent: observability

When does this happen?

IF Containers running LiteLLM versions 1.76.1–1.79.1 crash with Out-Of-Memory errors, accompanied by logs of 'Unclosed client session' and 'Error in is_prompt_caching_valid_prompt'.

How others solved it

THEN Disable Slack alerting in LiteLLM configuration as a temporary workaround to reduce memory pressure and prevent OOM crashes. Monitor for versions that fix the underlying aiohttp session leaks, and consider upgrading when available.

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics