Server Workload

Hi,
I'm wondering with all the problems I'm having with interrupted video if I'm tasking my server too much...I've saw x4 recordings at once all been interrupted ...think if I limit to one recording at a time this interruption thing might go away?
Thanks
Rob

What hardware are you running on? What is your source?

Hi I'm using Android tv server with USB stick
Thanks
Rob

That sounds like an awful weak server. Hard drive on USB3 port is recommend.

1 Like

This. Using a USB “flash” drive as your storage is asking for trouble. At the least you should get a true USB hard drive. Without details on your tv model it’s impossible to tell but many of the Android TV models are pretty underpowered from a CPU perspective. If you’re enjoying Channels and plan on using it long term I’d recommend migrating to different server hardware. Of course you could always try a new HD first and if that solves the issue, great. If not, you could take the next step of going to a new server device.

Hi mate,
thanks for the info.
My TV is an Android Cello 2040G...thing is I tried the Pc root and got the same issue ...interruptions ...my internet is hooked with a wired Vpn..not sure if this has a bearing ....it shows alot of errors not sure if the VPN has a bearing ..I'm thinking of buying a server ...as I absolutely wanna keep the service as it's best I've saw ...any ideas would be appreciated.

Thanks
Rob
2021/04/05 04:56:04.967004 [TNR] Closed connection to M3U-Stirrs for ch5028 COMET
2021/04/05 04:56:04.967156 [DVR] Job 1617588000-ch5028 The Arrival ended prematurely: 33m55.032872954s
2021/04/05 04:56:04.977593 [DVR] Starting job 1617588000-ch5028 The Arrival on ch=[5028]
2021/04/05 04:56:06.347975 [TNR] Opened connection to M3U-Stirrs for ch5028 COMET
2021/04/05 04:56:06.349203 [DVR] Recording for job 1617588000-ch5028 from M3U-Stirrs ch5028 into "TV/The Arrival/The Arrival 2021-04-05-0300.mpg" for 33m55.022201621s
2021/04/05 05:28:44.602619 [ERR] Error during stream M3U-Stirrs ch5028 COMET: Failed to download file: https://dai.google.com/linear/pods/v1/p/83L2OqtGSZ6lbWt8ODomWg/180befc3-1378-4df8-891e-bf4b5040d9d0:MRN2/64174/0/3/001125620ddacb54b46216a5dbe362a1/3.ts: Get "https://r3---sn-vgqsknld.googlevideo.com/videoplayback?id=e9064b8da3b7ec6f&itag=340&source=dclk_video_ads&requiressl=yes&sgovp=gir%3Dyes%3Bitag%3D340%3Bxtags%3Dvc%3Davc%3Avccf%3Dmain%3Avsz%3D1280x720%3Avtbr%3D2200%3Bclen%3D3518439%3Bdur%3D15382%3Blmt%3D1611177212230723&fvskm=161&mime=video/MP2T&ctier=L&sgoap=gir%3Dyes%3Bitag%3D340%3Bxtags%3Dac%3Daac%3Aaccf%3Dhe%3Aach%3D2%3Aasr%3D48000%3Aatbr%3D96%3Bclen%3D186134%3Bdur%3D15530%3Blmt%3D1611177191252553&faskm=235&gomt=100%2C3845%2C7441%2C11536%2C14382&gomv=google_1083904227156100506%2Cgoogle_7613373234451042454%2Cgoogle_3056071369530998888%2Cgoogle_3835630461520515430%2Cgoogle_4741004720255504957&acao=yes&nc=4756&ip=0.0.0.0&ipbits=0&expire=1617683201&sparams=acao,ctier,expire,faskm,fvskm,gomt,gomv,id,initcwndbps,ip,ipbits,itag,mh,mime,mip,mm,mn,ms,mv,mvi,pl,requiressl,sgoap,sgovp,source&signature=19875D8BC4E2137D3383B0C4716AE86B8B92E08C.851407DB359CE67C44444DAE7CB25EAC9DEDE633&key=cms1&initcwndbps=27860&mh=2X&mip=156.146.55.111&mm=31&mn=sn-vgqsknld&ms=au&mt=1617596441&mv=m&mvi=3&pl=26&fvidshow=11&fvidskip=150&govp=slices%3D0-712%2C2758806-3518438&faudshow=10&faudskip=117&goap=slices%3D0-593%2C120639-186133&cpn=GAvvwxN4TfiJHr9L": context canceled
2021/04/05 05:28:44.617728 [MTS] Statistics for "TV/The Arrival/The Arrival 2021-04-05-0300.mpg": skipped=0 unhandled_packets=0 discontinuity_detected=17 transport_errors=0 invalid_pts=0 invalid_dts=0 saw_pcr=false saw_pmt=true highest_pts=8909.550633
2021/04/05 05:28:44.693121 [TNR] Closed connection to M3U-Stirrs for ch5028 COMET
2021/04/05 05:28:44.693228 [DVR] Job 1617588000-ch5028 The Arrival ended prematurely: 1m15.306796994s
2021/04/05 05:28:44.704514 [DVR] Starting job 1617588000-ch5028 The Arrival on ch=[5028]
2021/04/05 05:28:46.093766 [TNR] Opened connection to M3U-Stirrs for ch5028 COMET
2021/04/05 05:28:46.094196 [DVR] Recording for job 1617588000-ch5028 from M3U-Stirrs ch5028 into "TV/The Arrival/The Arrival 2021-04-05-0300.mpg" for 1m15.295304494s
2021/04/05 05:30:00.010199 [MTS] Statistics for "TV/The Arrival/The Arrival 2021-04-05-0300.mpg": skipped=0 unhandled_packets=0 discontinuity_detected=3 transport_errors=0 invalid_pts=0 invalid_dts=0 saw_pcr=false saw_pmt=true highest_pts=9010.110389
2021/04/05 05:30:00.923694 [TNR] Closed connection to M3U-Stirrs for ch5028 COMET
2021/04/05 05:30:00.923832 [DVR] Finished job 1617588000-ch5028 The Arrival
2021/04/05 05:30:00.937500 [DVR] Processing file-3: TV/The Arrival/The Arrival 2021-04-05-0300.mpg
2021/04/05 05:30:03.678225 [IDX] Generating video index for file-3: The Arrival 2021-04-05-0300.mpg
2021/04/05 05:32:38.129368 [IDX] Finished video index generation for file-3 in 154s
2021/04/05 06:55:31.928674 [DVR] Commercial detection for Force 10 From Navarone 1978-01-01 Force 10 From Navarone 1978 2021-04-05-0100.mpg finished with 4 markers in 2h49m34.522118848s.
2021/04/05 06:55:35.498005 [DVR] Running commercial detection on file 3 (TV/The Arrival/The Arrival 2021-04-05-0300.mpg)
2021/04/05 07:11:56.199081 [MTS] Rewriting MPEG-TS timestamps for file-2: Force 10 From Navarone 1978-01-01 Force 10 From Navarone 1978 2021-04-05-0100.mpg
2021/04/05 07:21:28.318738 [MTS] Statistics for #2 "Force 10 From Navarone 1978-01-01 Force 10 From Navarone 1978 2021-04-05-0100.mpg": skipped=0 unhandled_packets=0 discontinuity_detected=12 transport_errors=0 invalid_pts=0 invalid_dts=0 saw_pcr=true saw_pmt=true highest_pts=9808.361422
2021/04/05 07:21:29.016299 [MTS] Finished video index generation for file-2 in 572s
2021/04/05 07:21:30.247180 [IDX] Generating video index for file-2: Force 10 From Navarone 1978-01-01 Force 10 From Navarone 1978 2021-04-05-0100.mpg
2021/04/05 07:24:22.010697 [IDX] Finished video index generation for file-2 in 171s
2021/04/05 07:40:41.271550 [TNR] Opened connection to LOCAST-501 for ch41.1 WXTVDT [transcode=none]
2021/04/05 07:40:54.402900 [TNR] Error during live stream for ch41.1 WXTVDT: write tcp 192.168.8.197:8089->192.168.8.122:45664: write: broken pipe
2021/04/05 07:40:54.460080 [TNR] Closed connection to LOCAST-501 for ch41.1 WXTVDT
2021/04/05 08:40:46.675017 [DVR] Commercial detection for The Arrival 2021-04-05-0300.mpg finished with 16 markers in 1h45m11.265406752s.
2021/04/05 08:40:48.268480 [DVR] Running commercial detection on file 2 (TV/Force 10 From Navarone/Force 10 From Navarone 1978-01-01 Force 10 From Navarone 1978 2021-04-05-0100.mpg)
2021/04/05 11:20:00.513005 [DVR] Commercial detection for Force 10 From Navarone

I don't have any experience with using Android TV as the server, but sounds like you tried other hardware and had the same issues... so guessing the problem is elsewhere. As a point of server comparison, I am running Channels on a 9 year old Mac Mini i5, and I've seen it doing 12 simultaneous recordings while also serving video to several streaming boxes in the house without any problems. So recording 4 shows is not a heavy load.

“Failed to download file” and “context cancelled” are both indicators that internet access was lost. The context cancelled one specifically makes me think the tcp connection was forced closed. This could be done by a firewall or anything else in your route to the internet. You mentioned a VPN. Are you saying all your internet access is tunneled through a VPN? If so, that would be my #1 suspect.

Yeah
It's all on VPN...I wil turn it off and try my luck ...thanks again both of you for your help .
Regards
Rob