pidvbip icon indicating copy to clipboard operation
pidvbip copied to clipboard

Lost connection to TVH, high CPU load

Open andyb2000 opened this issue 11 years ago • 1 comments

Cpu almost pegged out at 100% when TVH connection is lost for whatever reason.

Just tested: pidvbip idle (not subscribed), shutdown TVH daemon, cpu to 100% on pi and stays there. Start TVH daemon, pi still at 100% cpu load. Cannot restart subscription.

So need some form of hts timeout/socket timeout. (noted here mainly to remind myself to look into it!)

andyb2000 avatar May 19 '13 17:05 andyb2000

Thanks, yes. This has been in the back of my mind for a while - yes, we should have a timeout, and then pidvbip should attempt to reconnect at regular intervals (no idea what, perhaps 5 or 10 seconds?)

You may perhaps want to hold off until I've finished implementing multiple-server support in pidvbip - I'm most of the way there, so should hopefully finish in the next few days.

linuxstb avatar May 21 '13 20:05 linuxstb