narrow-laptop-64001
08/14/2025, 11:52 AM2025-08-14 11:49:05,272 - ERROR livekit.agents - process exited with non-zero exit code -9 {"pid": 553, "job_id": "AJ_YLpAbyhRqFNQ"}
Please let me know, if any additional information is required.
Thanks!refined-appointment-81829
08/14/2025, 12:20 PMSupervisedProc class manages child processes and monitors their health through ping/pong mechanisms. supervised_proc.py:38-64 When a process becomes unresponsive or exceeds resource limits, the supervisor can send kill signals. supervised_proc.py:240-254
Memory Monitoring and Limits
The worker configuration includes memory monitoring settings that could be related to your crashes: worker.py:168-173 The system monitors memory usage and can kill processes that exceed the configured job_memory_limit_mb threshold.
Common Causes and Solutions
Based on the your message, several factors can cause exit code -9 exits:
1. Memory-intensive features: BVC noise cancellation and multilingual turn detection require significant memory. If you're using these features on low-memory instances, they may trigger OOM kills.
2. Resource constraints: Low-resource hosting providers like Render.com's free tier cannot support memory-intensive agent features.
3. Most likely is your Agent logic is using too much memory in your business logic or you are using a server with too few resources or job_memory_limit_mb is just set too low for your agents need.
Notes
The exit code -9 is a system-level signal that typically indicates resource exhaustion rather than application bugs. The LiveKit Agents framework has robust process management and graceful shutdown mechanisms, so persistent -9 exits usually point to infrastructure or configuration issues rather than code problems.
Be sure to review this guide:
https://docs.livekit.io/agents/ops/deployment/narrow-laptop-64001
08/14/2025, 12:33 PMworried-lizard-45807
08/14/2025, 12:52 PMbillions-librarian-3897
10/07/2025, 2:19 AMjob_memory_limit_mb threshold is the default 0 so it should not be limited, and we can see from our pod statistics that the memory limit is not being reached. Is there any other reason for this error aside from memory usage? Thank you.refined-appointment-81829
10/07/2025, 5:01 PM