gray-magician-34629
11/28/2025, 11:58 AMtall-airline-16756
11/28/2025, 11:58 AMtall-airline-16756
11/28/2025, 11:58 AMlk load-test. I can help diagnose it, but I need a few details to narrow the cause.
Please provide:
1. LiveKit server version (output of livekit-server --version or image tag).
2. Exact lk load-test command/flags you used and number of simulated participants.
3. Server environment: CPU cores, memory, and whether you're running single-instance or scaled (k8s, Docker, bare metal).
4. Any recent config changes (turns on/off SFU features, participant limits, auth changes).
5. A fuller server log around the error (30–60s before/after) if available.
6. Does the error happen immediately for every participant or intermittently under higher load?
With those I’ll suggest targeted checks (resource limits, session restart failures, race conditions) and next steps to reproduce or mitigate.
Sources: Call forwarding | LiveKit docsgray-magician-34629
11/28/2025, 12:11 PMtall-airline-16756
11/28/2025, 12:11 PMlivekit-server --version or your image tag).
• Are you re-using the same room name across test runs (yes/no)? If yes, try a unique room name for this run.
• Did you run a previous load-test that may have left participants connected?
• A 30–60s excerpt of server logs around the error (showing any DUPLICATE_IDENTITY, WebSocket/ICE, or connection error lines).
• Does the error happen immediately for all simulated participants or only under higher concurrency?
If you want an immediate experiment: reduce the test to 50 publishers + 50 subscribers or run the same test but on a machine with more CPU (e.g., 16 cores) to see whether the error disappears — that will quickly indicate if it's CPU/resource related.
Sources: Benchmarking | LiveKit docs | livekit/livekit_composite | DeepWiki | Server-side | livekit/livekit_composite | DeepWiki | Going beyond a single-core | Connecting to LiveKit | LiveKit docs