Project

General

Profile

Actions

Bug #5295

closed

mpegts: too much queued input data

Added by Luis Alves over 6 years ago. Updated almost 5 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-10-27
Due date:
% Done:

0%

Estimated time:
Found in version:
github master
Affected Versions:

Description

I'm having this issue where at some point tvheadend starts spamming the "too much queued input data" message and locks out (and killing the process is the only thing that can be done).

This happens all the time I have several active recordings where the input streams are from an iptv network and because of this issue I switched the recordings to use the stream from dvb adapters.
It seemed to solve the issue and for around 3 days everything worked fine - but today happened again (had to kill tvheadend):

My recording profile use hw transcoding (intel/vaapi) with no cpu usage.

Started at around 7am:

Oct 27 07:00:33 server tvheadend[10216]: mpegts: too much queued input data (over 50MB) for NOS#11, discarding new
Oct 27 07:00:53 server tvheadend[10216]: message repeated 2 times: [ mpegts: too much queued input data (over 50MB) for NOS#11, discarding new]
Oct 27 07:01:03 server tvheadend[10216]: mpegts: too much queued input data (over 50MB) for NOS#11, discarding new
Oct 27 07:04:53 server tvheadend[10216]: message repeated 23 times: [ mpegts: too much queued input data (over 50MB) for NOS#11, discarding new]

[...]

Oct 27 10:08:51 server tvheadend[10216]: mpegts: too much queued input data (over 50MB) for NOS#11, discarding new
Oct 27 10:09:01 server tvheadend[10216]: mpegts: too much queued input data (over 50MB) for NOS#11, discarding new
Oct 27 10:09:11 server tvheadend[10216]: mpegts: too much queued input data (over 50MB) for NOS#11, discarding new
Oct 27 10:09:31 server tvheadend[10216]: message repeated 2 times: [ mpegts: too much queued input data (over 50MB) for NOS#11, discarding new]

What I have seen is that whenever this message starts, tvheadend it will likely to end up dead.
In what conditions does this message show up? (I suppose it's when tvheadend can't flush the input data to the "output")

Anyway, the action tvheadend takes when this happens (discarding new data) doesn't seem to be enough to handle the situation.

How can I further debug this issue?

Actions

Also available in: Atom PDF