Hi, We are getting this error in local testing an...
# ask-ai
c
Hi, We are getting this error in local testing and development. Any suggestions on this? {"message": "process exited with non-zero exit code -6", "level": "ERROR", "name": "livekit.agents", "pid": 124970, "job_id": "AJ_B6D2cwQV74iH", "timestamp": "2025-10-22T124448.360876+00:00"}
t
Thanks for reaching out, Abdul. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I'm sorry to hear you're encountering the error "process exited with non-zero exit code -6." This usually points to a critical issue like a SIGABRT signal. Let's work through some steps together to help diagnose and resolve this: 1. Check Agent Status: You can use the command
lk agent status
to see the agent's current status, including CPU and memory usage along with deployment details. 2. Memory Diagnostics: It’s a good idea to review the logs for any memory warnings before the crash. The system logs memory usage every 5 seconds and will alert you if it's nearing limits. If memory limits are exceeded, the process will terminate immediately. 3. Process Health Monitoring: Keep an eye out for any "process is unresponsive" warnings in the logs. Sometimes, high ping delays or unresponsiveness can cause the process to stop unexpectedly. 4. Initialization Issues: Check whether the process completes initialization successfully or if it crashes during startup. The system logs will show the timing and results of the initialization. To help you better, could you please share a few more details? • Did you notice any memory warnings or unresponsive process logs before the crash? • Does the process crash during initialization or after it has been running for a while? • What type of agent are you using, and what are the memory limit settings? With this information, I’ll be able to guide you more precisely and find the best solution together. Looking forward to your reply! Sources: livekit-agents/livekit/agents/ipc/supervised_proc.py | Agent deployment CLI reference | LiveKit Docs | agents/src/cli.ts | cmd/lk/agent.go