Project

General

Profile

Bug #2350

Bug #2365: croned OTA epggrab remains active when invoked on already open subscription

no timeout on eit

Added by alf alfonsius about 10 years ago. Updated about 10 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
EPG - Grabbers
Target version:
-
Start date:
2014-10-07
Due date:
% Done:

0%

Estimated time:
Found in version:
3.9.1741~g078e61b-dirty
Affected Versions:

Description

i have some streams staying open on epg grabbing from dvb-c, some channels have epg some don't i guess,
is there no timeout for scanning ? they are staying always connected w/o subscription

log says:
Oct 7 14:24:21 iptv tvheadend22724: mpegts: 235.10.10.11 in Tralala - tuning on IPTV
Oct 7 14:24:21 iptv tvheadend22724: subscription: 'epggrab' subscribing to mux, weight: 3, adapter: 'IPTV', network: 'Tralala', mux: '235.10.10.11', hostname: '<N/A>', username: '<N/A>', client: '<N/A>'

....

Oct 7 14:34:36 iptv tvheadend22724: epggrab: EIT: DVB Grabber - data completion timeout for 235.10.10.11 in Tralala

i can see epg in vlc w/o problems


Files

epg-streams.jpg (68.7 KB) epg-streams.jpg open streams no subscription alf alfonsius, 2014-10-07 13:32
tables.jpg (142 KB) tables.jpg this channel got epg alf alfonsius, 2014-10-07 13:33
vlc-epg.jpg (176 KB) vlc-epg.jpg working in vlc alf alfonsius, 2014-10-07 13:43
openstreams.jpg (81.4 KB) openstreams.jpg always connected with no subscription, back on after every restart alf alfonsius, 2014-10-08 10:44
dump-vh1classic.ts (20.9 MB) dump-vh1classic.ts alf alfonsius, 2014-10-08 14:59
trace-eit3.log (5.03 KB) trace-eit3.log alf alfonsius, 2014-10-09 07:27

History

#1

Updated by Jaroslav Kysela about 10 years ago

Could you configure a tvh instance with only one channel and provide 'linuxdvb', 'epggrab' and 'eit' trace with a detailed description what does not work ?

#2

Updated by alf alfonsius about 10 years ago

oops, i didnt make myself clear. the epg comes from multicast input, not dvb.
here is a trace of eit from latest git with 1 mux/service/channel: http://pastebin.com/N0GcEuMk

and the problem was that the streams stay open w/o subscription thus adding traffic to my lo interface(no prob with 1 stream, but with 200+...) on my installed tvh i got 5 streams staying connected all the time and thats ~20Mbits/sec allready (see pic), or i just got it all wrong bit logfile says:

2014-10-08 11:19:40.000 epggrab: EIT: DVB Grabber - data completion timeout for 235.10.10.30 in Tralala
2014-10-08 11:19:40.000 epggrab: EIT: DVB Grabber - data completion timeout for 235.10.10.35 in Tralala
2014-10-08 11:19:40.000 epggrab: EIT: DVB Grabber - data completion timeout for 235.10.10.6 in Tralala
2014-10-08 11:19:40.000 epggrab: EIT: DVB Grabber - data completion timeout for 235.10.10.11 in Tralala

so i guessed the epggrabbber keeps em open...

anyway, keep up the good work !! :)

#3

Updated by Jaroslav Kysela about 10 years ago

OK, I see. The EIT parsing looks good. Could you provide also 'epggrab,subscription,service' traces ? (using one channel <- one service config)..

#4

Updated by alf alfonsius about 10 years ago

same config,same service:

2014-10-08 15:39:27.365 [ INFO] mpegts: 235.10.10.11 in Tralala - tuning on IPTV
2014-10-08 15:39:27.365 [ INFO] eit: registering mux 235.10.10.11 in Tralala
2014-10-08 15:39:27.365 [ INFO] subscription: 'scan' subscribing to mux, weight: 5, adapter: 'IPTV', network: 'Tralala', mux: '235.10.10.11', hostname: '<N/A>', username: '<N/A>', client: '<N/A>'
2014-10-08 15:39:27.483 [ TRACE] epggrab: ota 235.10.10.11 in Tralala add new service Tralala/235.10.10.11/VH1 Classic
2014-10-08 15:39:42.000 [ INFO] mpegts: 235.10.10.11 in Tralala - scan complete
2014-10-08 15:39:42.000 [ INFO] subscription: "scan" unsubscribing
2014-10-08 15:39:42.000 [ DEBUG] epggrab: grab done for 235.10.10.11 in Tralala (stolen)
2014-10-08 15:39:43.000 [ TRACE] epggrab: ota - kick callback
2014-10-08 15:39:43.000 [ INFO] mpegts: 235.10.10.11 in Tralala - tuning on IPTV
2014-10-08 15:39:43.000 [ INFO] subscription: 'epggrab' subscribing to mux, weight: 3, adapter: 'IPTV', network: 'Tralala', mux: '235.10.10.11', hostname: '<N/A>', username: '<N/A>', client: '<N/A>'
2014-10-08 15:39:43.000 [ TRACE] epggrab: mux stats - all 1 pending 0
2014-10-08 15:40:28.000 [ DEBUG] epggrab: grab done for 235.10.10.11 in Tralala (timeout)
2014-10-08 15:40:28.000 [WARNING] epggrab: EIT: DVB Grabber - data completion timeout for 235.10.10.11 in Tralala
2014-10-08 15:40:28.000 [ INFO] subscription: "epggrab" unsubscribing

#5

Updated by alf alfonsius about 10 years ago

i dumped some minutes of the stream in question

#6

Updated by Jaroslav Kysela about 10 years ago

alf alfonsius wrote:

same config,same service:

2014-10-08 15:40:28.000 [WARNING] epggrab: EIT: DVB Grabber - data completion timeout for 235.10.10.11 in Tralala
2014-10-08 15:40:28.000 [ INFO] subscription: "epggrab" unsubscribing

So OTA epggrab requests to unsubscribe the mux when the timeout is reached.. Could you also add 'mpegts' to the trace list ? It looks like an IPTV client code issue..

#7

Updated by alf alfonsius about 10 years ago

here you go
btw i could give you access to the streams over udpproxy if it helps

#8

Updated by Jaroslav Kysela about 10 years ago

  • Parent task set to #2365

The log seems correct. I think that your issue is similar to 2365 .

#9

Updated by Jaroslav Kysela about 10 years ago

Fixed in v3.9-1837-g3f4387b

#10

Updated by Jaroslav Kysela about 10 years ago

  • Status changed from New to Fixed

Also available in: Atom PDF