Bug #4326
Opened sessions with "zero" output traffic
0%
Description
In status i see user to switch channel and previous channel to stay in open status,
with take stream from tuner but to user stay to "0 kb/s"
this make tuner busy
Usually this happens to client with HTSP protocol on KODI clent
but e see this rarely and with vlc client with playlist /pass profile/
Is it possible to kill those sessions, to allow users with "1" connection to watch without problem, or need to set limit to 2 connections.
History
Updated by Sam Stenvall over 7 years ago
I've noticed this too on v4.0.8. What I usually do is kill the HTSP connection for the user, which causes it to reconnect and restart the stream.
Updated by Jaroslav Kysela over 7 years ago
TVH should close all connections when linux kernel detects the close. I added peer port / server ip&port info to the connections list in v4.3-43-gd392de2 . Could you check the state of TCP socket via netstat for those connections ? (netstat -an | grep "PEERIP:PEERPORT")?
Updated by Andreas Fornberg over 7 years ago
For me IPTV streams that fails causes TVheadend to crash.
Updated by Pablo R. over 7 years ago
Is there any way to automatically restart a stream if it is at 0kbps input for a long time?
Updated by saen acro over 7 years ago
andreas öman Fornberg and Mister Pablo Rodríguez
Bug is for OUTPUT stream to client,
not for INPUT stream with TVH get from somewhere.
Updated by Andreas Fornberg over 7 years ago
Jaroslav Kysela wrote:
Then report the crash to fix it.
Yes but reasons i wrote here is that i think it can be related to this problem.