Create a dedicated user:
sudo apt install linux-image-rt-amd64 linux-headers-rt-amd64 For DVB streaming, latency is jitter. Jitter is rebuffering. The RT kernel reduces scheduling latency by 90%. If you are recording or timeshifting, Ext4 struggles with 500+ Mbps write loads. Use XFS: astra cesbo install better
*/1 * * * * curl -s http://localhost:8000/stat/stream | jq '.[].errors' If errors > 10, trigger sudo systemctl restart astra . Don't log to syslog. Write to a RAM disk to save SSD wear: If you are recording or timeshifting, Ext4 struggles
"input": "dvb://...", "jitter": "15ms" A "better" install is not just about uptime; it's about throughput. CPU Affinity for DVB Cards If you have multiple DVB tuners, pin each to a specific CPU core to avoid cache thrashing. Write to a RAM disk to save SSD wear: "input": "dvb://
sudo useradd -r -s /bin/false astra sudo usermod -a -G video,dvb astra Give capability access without full root:
sudo setcap 'cap_net_admin,cap_net_raw,cap_sys_nice+ep' /usr/bin/astra Run the service as the astra user. Edit /etc/systemd/system/astra.service :