Instead of one massive file, split your config:
/etc/astra/astra.conf
/etc/astra/conf.d/adapters/
/etc/astra/conf.d/streams/
/etc/astra/conf.d/filters/
Example master config:
"pid": "/run/astra.pid",
"adapter": [
"conf.d/adapters/dvb_s2_card0.json",
"conf.d/adapters/dvb_s2_card1.json"
],
"stream": [
"conf.d/streams/udp_rtp_mcast.json"
]
Why this is better: You can restart individual modules without taking down the whole server using astra --restore <file>. astra cesbo install better
The default buffer is 1 second (188 packets). That is too low for satellite feeds with occasional CRC errors.
Set:
"buffer": "5000" // 5000 TS packets ~= 1.3 seconds
And enable input buffer jitter compensation:
"input": "dvb://...", "jitter": "15ms"
Use astra-cli to check your stream health without the web interface: Instead of one massive file, split your config:
/usr/local/bin/astra-cli show stats
Monitor:
If you are recording or timeshifting, Ext4 struggles with 500+ Mbps write loads. Use XFS: Example master config:
sudo mkfs.xfs -f -l size=128m -d agcount=4 /dev/sdX
Mount with noatime,nodiratime,largeio,inode64 for maximum throughput.
Run these commands before you touch Astra:
# Disable CPU frequency scaling (force performance)
sudo systemctl disable ondemand
echo 'performance' | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor