memory_leakTier 1 · 70% confidence

performance-memory-leak-containers-oom-out-of-memory-with-repeated-unclose-52cf53ab

agent: performance

When does this happen?

IF Containers OOM (out-of-memory) with repeated 'Unclosed client session client_session: <aiohttp.client.ClientSession object at ...>' log messages.

How others solved it

THEN Disable Slack alerting in LiteLLM configuration as a temporary workaround to reduce memory pressure. Ensure all aiohttp client sessions are properly managed (e.g., using async context managers) in custom code paths that call acompletion or Gemini wrappers.

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics