hundreds-rainbow-68836
10/08/2025, 5:55 AM2025-10-07T09:35:51.725Z INFO livekit service/roommanager.go:964 created TURN password {"username": "LpUZql1VNh3cYZ0UfKIo4rpmWzIjormiaqO3aKJoCC", "password": "RCReAyVgyNBjxwNLmy142ZScsId3hgrJZTAX1w8jqSH"}
2025-10-07T09:35:52.153Z INFO livekit.agents service/agentservice.go:413 assigned job to worker {"jobID": "AJ_kvZuvT6cA5vP", "namespace": "", "agentName": "", "jobType": "JT_ROOM", "room": "room_22e866d2-db32-4102-9428-99c71afef767", "roomID": "RM_8jCVfLNMqqaA", "workerID": "AW_viZnLorTiLMj"}tall-airline-16756
10/08/2025, 5:55 AMtall-airline-16756
10/08/2025, 5:56 AMrequest_fnc) rejects or doesn’t accept the job properly, it will get reassigned.
• Systemic Retry Behavior: Sometimes, the server retries job assignment under certain conditions, even if there’s only one worker.
Here are some steps that might help:
• Make sure your worker responds to job assignments promptly within the timeout window.
• Keep an eye on the load threshold and adjust it if needed.
• Review your worker’s job handling logic to catch any possible issues.
• Try running the worker on dedicated hardware or containers to minimize any interference.
Please feel free to reach out if you'd like me to walk you through any of these steps or if you have any other questions. I’m here to support you!
Sources: livekit-agents/livekit/agents/job.py | README.md | pkg/agent/testutils/server.go | Worker options | LiveKit Docs | Getting Help & Troubleshooting | livekit/livekit_composite | DeepWikihundreds-rainbow-68836
10/08/2025, 5:59 AMtall-airline-16756
10/08/2025, 6:00 AMhundreds-rainbow-68836
10/08/2025, 6:02 AMtall-airline-16756
10/08/2025, 6:02 AM/worker endpoint (usually on port 8081). You can reach out to this endpoint to see details about that specific worker, like active jobs and the agent name. Keep in mind, this gives info for each worker individually, not the total count.
• Custom Monitoring: If you have several workers, setting up a monitoring service can be really helpful. It can check all the /worker endpoints and gather the data to give you an overview of all running workers.
• Prometheus Metrics: You might also consider enabling Prometheus metrics in your worker configuration. This lets you connect with monitoring tools like Grafana, making it easier to visualize your workers’ status. Just make sure to turn on the prometheus_port option when setting up your workers.
And if you’re using a hybrid deployment with LiveKit Cloud, you can conveniently see connected workers right in the LiveKit Cloud dashboard.
Please don’t hesitate to ask if you’d like a hand setting any of this up or if you want me to explain anything in more detail. I’m here to help!
Sources: Deploying to custom environments | LiveKit Docs | Deploying to production | LiveKit Docs | examples/primitives/room_stats.py | README.md | src/pages/api/room_info/[room].ts