clean-mouse-53726
11/24/2025, 9:04 AMtall-airline-16756
11/24/2025, 9:04 AMtall-airline-16756
11/24/2025, 9:04 AMlivekit.agents (906 MB; warn threshold 500 MB). I’ll help you triage and act.
What this means
• The process exceeded the configured warning threshold but no hard limit is enforced (memory_limit_mb = 0). This is a cautionary alert, not an immediate crash.
• 900+ MB can be normal for resource‑intensive agent tasks (noise cancellation, turn detection), but on small hosts it may cause instability.
Actions to take now
1. Monitor short-term trends
◦ Check if memory keeps rising or stabilizes over minutes/hours.
◦ Watch CPU, swap use, and any dropped frames or latency spikes.
1. Reduce immediate load
◦ Lower agent concurrency or reduce simultaneous processed streams.
◦ Disable non‑essential audio processing features temporarily (e.g., advanced noise suppression) if enabled.
1. Adjust thresholds/config
◦ Increase memory_warn_mb if your environment normally uses this amount and you have headroom.
◦ Set a reasonable memory_limit_mb if you want the process to be constrained (be aware this can cause restarts if exceeded).
1. Scale resources
◦ If this server is on a low‑memory tier, move to an instance with more RAM; LiveKit recommends ~8 GB and 4 CPU cores for most voice AI agent workloads.
1. Collect diagnostics (if you want me to help further)
◦ Recent memory trend (last 30–60 minutes)
◦ Host total RAM and swap
◦ Which agent features are enabled (noise cancellation, turn detection, etc.)
◦ Whether this host is on a low‑memory platform (e.g., free tier)
If you share the diagnostics above, I can suggest specific config changes or sizing for your workload. Would you like help gathering any of those metrics?
Sources: Deploying to custom environments | LiveKit Docs | Automation & Knowledge Management Tools | livekit/livekit_composite | DeepW...