chilly-balloon-11273
10/13/2025, 12:30 PMtall-airline-16756
10/13/2025, 12:30 PMtall-airline-16756
10/13/2025, 12:30 PMchilly-balloon-11273
10/13/2025, 12:33 PMtall-airline-16756
10/13/2025, 12:33 PMCPUCreditBalance metric is key to preventing throttling. You might also want to explore using t3.unlimited instances if that fits your needs.
• Set CPU Thresholds: Consider configuring the LiveKit Egress service to watch CPU usage closely and automatically stop the processes that are using the most CPU if things get too high. This can help keep things running smoothly.
• Enable CPU Profiling: Using the --cpuprofile flag allows you to generate a CPU profile file. Then, with Go’s pprof tool, you can dive into that data to spot any bottlenecks.
• Validate Load: The livekit-cli tool is great for simulating load and seeing how your CPU behaves under stress, which can provide valuable insights.
I hope these suggestions help you get a clearer picture and manage the CPU usage more effectively. Please feel free to reach out if you’d like any help walking through these steps—I’m here to support you!
Sources: Troubleshooting Latency and Timeout Errors with Turn Detection on AWS | pkg/stats/monitor.go | cmd/server/main.go | Optimizing Video Calls for Low-Powered Devices in LiveKit (JS SDK ≥ v2.14.0... | cmd/lk/perf.go