busy-lunch-15701
03/18/2026, 9:00 AMtall-airline-16756
03/18/2026, 9:00 AMtall-airline-16756
03/18/2026, 9:01 AMload_threshold and load_fnc (server options) to prevent new jobs from being scheduled when the worker is nearing resource limits.
Notes about the exit code and signals
• The log shows exit code -10 and that the worker sent SIGUSR1 then killed the process for being unresponsive. Exit code -10 isn’t documented here specifically, but non-zero exit codes generally indicate abnormal termination (crash, fatal error, or signal). The agent’s kill sequence means the job stopped responding to signals — often symptomatic of CPU starvation, deadlocks, or blocking native calls.
If you can share the answers to the clarifying questions above and any additional logs (process stdout/stderr surrounding 1356–1357), I’ll help you interpret them and provide the next concrete steps — for example, which metrics to pull, what log lines to look for, or what configuration changes to make.
Sources: Diagnosing Connection Errors with Connection Test Utility | Job lifecycle | LiveKit Documentation | Server options | LiveKit Documentation | Troubleshooting Latency and Timeout Errors with Turn Detection on AWS | Self-hosted deployments | LiveKit Documentation, with interactive elementsbusy-lunch-15701
03/18/2026, 9:06 AMtall-airline-16756
03/18/2026, 9:06 AMload_threshold so new jobs are rejected earlier (this prevents overload).
• Instance sizing: While c6g.large is generally fine, if sustained CPU spikes occur under your workload, consider a larger instance type to avoid CPU saturation during heavy LLM/TTS work.
• Watch for sudden load bursts: If bursts coincide with job failures, add autoscaling to smooth peak load.
Longer-term diagnostics to pin the root cause
• Run a controlled load test that mimics typical agent sessions while capturing:
◦ Per-process CPU and wall-time traces
◦ Agent logs, stdout/stderr for each job
◦ Observability traces for sessions
This helps determine whether it’s a deterministic deadlock, native library blocking call, or pure resource exhaustion.
What I can do next for you
• If you share the exact room_id(s) and timestamps, I will:
◦ Point to the exact agent log time ranges to export.
◦ Specify the Observability trace lines/fields to check (STT/LLM/TTS latencies, TTFT/TTFB).
◦ Recommend which additional diagnostic logs or core dumps to collect for root-cause analysis.
Would you like me to start by looking at the agent log ranges for RM_WAFqZ5NbMDBB (provide the exact timestamps you want checked), or do you prefer guidance on exporting the instance CPU/metrics and agent logs first?
, with interactive elementstall-airline-16756
03/18/2026, 9:11 AMload_threshold so the worker rejects new jobs earlier and avoids hitting full capacity.
• Scale horizontally: add agent replicas so fewer jobs are scheduled per process.
• If you see consistent CPU saturation, move to larger instances (more vCPUs) to give headroom for spikes.
6) Longer-term changes to consider
• If frequent heavy inference is expected, prefer instance families with predictable CPU performance and more cores (e.g., m5/c5/c6i families) rather than constrained machines.
• Add autoscaling for agent replicas driven by CPU or custom load metrics so the system reacts automatically to spikes.
• Keep Agent Observability enabled and use it to correlate failures with model or tool calls.
What I can do for you next
• If you share the exact timestamps (and any additional room_ids) for the recent incidents, I will:
◦ Tell you the exact agent-log ranges to export and which log lines to look for.
◦ Point to the Observability trace fields and latency metrics to inspect for that session (STT/LLM/TTS latencies, TTFT/TTFB).
◦ Provide the exact diagnostic commands or config changes to enable stack traces or core dumps for a controlled test.
• If you prefer, I can first walk you through exporting CPU and instance metrics so we confirm whether CPU saturation is the immediate trigger.
Which would you like to do next — share the timestamps/room_ids for me to analyze logs, or walk through exporting CPU metrics and enabling more verbose logs first?
Sources: Terms of Service | LiveKit | Streamline troubleshooting with Agent Observability | LiveKit | Troubleshooting Latency and Timeout Errors with Turn Detection on AWS | Terms of Service | LiveKit | Collect recording consent with tasks | LiveKit Documentation, with interactive elements