Skip to content

Troubleshooting & Deep Dives Overview ​

When diagnosing anomalies in high-throughput video pipelines, a systematic diagnostic methodology is crucial. RUSEON Core's decoupled Ring Buffer architecture ensures that failures in one subsystem (such as slow disk writes) do not block or crash live WebRTC or HLS delivery.


Troubleshooting Guide Directory ​

Issue DomainTypical SymptomsDeep-Dive Guide
Page Cache Thrashing & OOMLinux memory usage climbs to 100%, system becomes unresponsive during heavy writesPage Cache Thrashing Deep Dive
Corrupted MP4 & Power LossRecordings unplayable after sudden power outage or kernel panicMP4 Atom Recovery Guide
Cameras & RTSP IngestCamera feeds dropping, 401 Unauthorized, RTSP TCP timeouts, frame distortionCamera Troubleshooting
Streaming & WebRTC / HLSWebRTC ICE connection failed, HLS playlist buffering, audio/video desyncStreaming Troubleshooting
Archive & StorageDisk quota full, recording intervals missing, slow timeline queriesArchive Troubleshooting
Performance & CPU/RAMHigh CPU usage, GC latency spikes, buffer frame drops under high loadPerformance Troubleshooting
Common Error CatalogQuick reference of error messages, HTTP status codes, and exact remediation stepsCommon Errors Matrix

4-Step Standard Diagnostic Workflow ​

  1. Check Live Probes:
    bash
    curl -i http://localhost:9090/livez
    curl -i http://localhost:9090/readyz
  2. Inspect Structured Logs:
    bash
    # Filter for warnings and errors in real time
    sudo journalctl -u ruseon -f | grep -E '"level":"(warn|error|fatal)"'
  3. Inspect Prometheus Buffer Drops: Check if ruseon_buffer_drops_total is incrementing, which indicates a slow subscriber channel.
  4. Capture Live Profiling: If CPU or memory is abnormal, capture a pprof heap snapshot (curl -s http://localhost:9090/debug/pprof/heap > heap.pprof).

Released under the MIT License.