Skip to content

Maintenance Tasks

Maintenance tasks operate on instance state, online streams, and proxy cache. Before running them, decide whether online playback may be affected. Afterward, check health, logs, metrics, and user paths.

Terminal window
synctv system stats
synctv system stream list
synctv system stream kick <STREAM_ID>
OperationUse
system statsInspect service, connection, and internal state
system stream listFind active media streams or abnormal streams
system stream kickDisconnect a stuck or abusive stream
Terminal window
synctv slice-cache stats
synctv slice-cache evict-expired
synctv slice-cache purge
  • proxy_slice_cache.enabled decides whether slice cache is enabled.
  • CLI commands provide stats, expiration eviction, and purge; they do not dynamically enable or disable cache.
  • purge clears cache data. It does not affect PostgreSQL business data, but it lowers cache hit rate afterward.
  1. /health/ready succeeds.
  2. Sign-in, room list, WebSocket, chat, and playback controls work.
  3. Provider browse, direct playback, and proxy playback work.
  4. Metrics do not show sustained errors.
  5. Logs do not show sustained database, Redis, Provider, or Realtime errors.

Production diagnosis is in Troubleshooting. Metrics guidance is in Observability Runbook.