Project

General

Profile

mpegts: too much queued input data (over 50MB)

Added by Ivan debilas over 7 years ago

- debian 8
- tvheadend 4.3 last from git (today)
- epg over air = ON
- any epg grabbers = OFF

after 30-60 mins tvhead stop play with error: mpegts: too much queued input data (over 50MB)

Jun 07 16:30:53 stream1 tvheadend176303: mpegts: too much queued input data (over 50MB), discarding new
Jun 07 16:30:53 stream1 tvheadend176303: mpegts: too much queued input data (over 50MB), discarding new
Jun 07 16:30:53 stream1 tvheadend176303: mpegts: too much queued input data (over 50MB), discarding new
Jun 07 16:30:53 stream1 tvheadend176303: mpegts: too much queued input data (over 50MB), discarding new
Jun 07 16:30:53 stream1 tvheadend176303: mpegts: too much queued input data (over 50MB), discarding new
Jun 07 16:30:53 stream1 tvheadend176303: mpegts: too much queued input data (over 50MB), discarding new
Jun 07 16:30:53 stream1 tvheadend176303: mpegts: too much queued input data (over 50MB), discarding new
Jun 07 16:30:54 stream1 tvheadend176303: mpegts: too much queued input data (over 50MB), discarding new

Shocked :(
Jun 07 16:30:54 stream1 tvheadend176303: mpegts: too much queued input data (over 50MB), discarding new
Jun 07 16:30:55 stream1 tvheadend176303: mpegts: too much queued input data (over 50MB), discarding new


Replies (28)

RE: mpegts: too much queued input data (over 50MB) - Added by saen acro over 7 years ago

Add more info hardware for example
type of input, transcoding, clients etc.

RE: mpegts: too much queued input data (over 50MB) - Added by Ivan debilas over 7 years ago

- i7 2600k
- 16 gb ram
- 1tb sata
- intel quad port in bonding
- 2x TBS 6909, 16 transponder (quad, 36E, NTV)

- no transcoding, just mpegts passthu
- no clients, only 1 session per channel from flussonic

- patched LNB profile at linuxdvb_lnb.c (changed .lnb_switch to 13000)
- patched linuxdvb_frontend.c (increased pids: linuxdvb_pid_t pids256;)

- try to increase buffer at mpegts_input.c to 100M - the same error after 40-60 min

RE: mpegts: too much queued input data (over 50MB) - Added by saen acro over 7 years ago

With TBS git is used
(most crappy driver ever fix one broke other;) )

RE: mpegts: too much queued input data (over 50MB) - Added by Ivan debilas over 7 years ago

latest tbs driver from git already installed

RE: mpegts: too much queued input data (over 50MB) - Added by Ivan debilas over 7 years ago

okay, thanks,

i try now and inform.

RE: mpegts: too much queued input data (over 50MB) - Added by Ivan debilas over 7 years ago

https://github.com/ljalves/linux_media/wiki/Installating

it's very old drivers

and tvheadend see my tbs6909 how MXL500 (or same)

RE: mpegts: too much queued input data (over 50MB) - Added by saen acro over 7 years ago

It's same
do you see any change in

 mpegts: too much queued input data (over 50MB), discarding new

RE: mpegts: too much queued input data (over 50MB) - Added by Ivan debilas over 7 years ago

and system see only one tbs 6909 (8 trans)

can't find where i can change the limits

RE: mpegts: too much queued input data (over 50MB) - Added by saen acro over 7 years ago

make menuconfig

then
git diff
to see for next time
очень легко сделать ;)

RE: mpegts: too much queued input data (over 50MB) - Added by Ivan debilas over 7 years ago

media_build# make menuconfig
make -C /root/my_TBS_lja/media_build/v4l menuconfig
make1: Entering directory '/root/my_TBS_lja/media_build/v4l'
make -C /lib/modules/4.9.0-0.bpo.3-amd64/build -f /root/my_TBS_lja/media_build/v4l/Makefile.kernel config-targets=1 mixed-targets=0 dot-config=0 SRCDIR=/lib/modules/4.9.0-0.bpo.3-amd64/source v4l-mconf
make2: Entering directory '/usr/src/linux-headers-4.9.0-0.bpo.3-amd64'
/lib/modules/4.9.0-0.bpo.3-amd64/source/Makefile:541: arch/x86/Makefile: No such file or directory
make2: * No rule to make target 'arch/x86/Makefile'. Stop.
make2: Leaving directory '/usr/src/linux-headers-4.9.0-0.bpo.3-amd64'
Makefile:395: recipe for target '/lib/modules/4.9.0-0.bpo.3-amd64/build/scripts/kconfig/mconf' failed
make1:
[/lib/modules/4.9.0-0.bpo.3-amd64/build/scripts/kconfig/mconf] Error 2
make1: Leaving directory '/root/my_TBS_lja/media_build/v4l'
Makefile:26: recipe for target 'menuconfig' failed
make: *
* [menuconfig] Error 2

sources installed: apt-get install linux-headers-`uname -r`
нелегко :(

RE: mpegts: too much queued input data (over 50MB) - Added by saen acro over 7 years ago

drivers/media/pci/tbsecp3/tbsecp3.h
line 54

edit number to 64

с первого взгляда ;)

RE: mpegts: too much queued input data (over 50MB) - Added by Ivan debilas over 7 years ago

put 16,
make
make install
reboot.

still 8 adapters :(

RE: mpegts: too much queued input data (over 50MB) - Added by saen acro over 7 years ago

Because its TBS you need to destroy current kernel
before make install

$ sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/media/*

https://github.com/ljalves/linux_media/wiki/Installating

RE: mpegts: too much queued input data (over 50MB) - Added by Ivan debilas over 7 years ago

of course!

always remove all media folder from current kernel!!!

still 8 transponders :((

RE: mpegts: too much queued input data (over 50MB) - Added by saen acro over 7 years ago

There is other problem

apt install linux-headers-`uname -r` build-essential subversion mercurial libncurses-dev openssl gettext libssl-dev screen libv4l-dev

modinfo tbsecp3

MAX_DVB_ADAPTER located at Device Drivers > Multimedia Support > Max DVB Adapter

https://bitbucket.org/CrazyCat/media_build/src

RE: mpegts: too much queued input data (over 50MB) - Added by Ivan debilas over 7 years ago

thanks,

install drivers from crazycat.

success 16 adapters, show as MXL5XX

  1. /astra --dvbls
    Jun 09 03:22:58: INFO: [main] Starting Astra v.5.61
    Jun 09 03:22:59: WARNING: adapter = 15, device = 0
    Jun 09 03:22:59: WARNING: adapter in use
    Jun 09 03:22:59: WARNING: mac = 00:22:AB:91:3C:9F
    Jun 09 03:22:59: WARNING: frontend = MXL5XX
    Jun 09 03:22:59: WARNING: type = S
    Jun 09 03:22:59: WARNING: adapter = 14, device = 0
    Jun 09 03:22:59: WARNING: adapter in use
    Jun 09 03:22:59: WARNING: mac = 00:22:AB:91:3C:9E
    Jun 09 03:22:59: WARNING: frontend = MXL5XX
    Jun 09 03:22:59: WARNING: type = S
    Jun 09 03:22:59: WARNING: adapter = 13, device = 0

tvheadend running,
wait for error :))

RE: mpegts: too much queued input data (over 50MB) - Added by Ivan debilas over 7 years ago

the same problem with another driver.

after 1h = cpu load 100%

RE: mpegts: too much queued input data (over 50MB) - Added by Ivan debilas over 7 years ago

again install latest official TBS drivers from git (https://github.com/tbsdtv/linux_media/wiki)
and return to old HTS Tvheadend 4.1-c0d8614

maybe it's help.

RE: mpegts: too much queued input data (over 50MB) - Added by saen acro over 7 years ago

I have box with installed Ubuntu 14.04 x64 (4Gb Ram)and 2x6909
driver from https://github.com/ljalves/linux_media/

Except slow driver loading nothing else is problematic current uptime 3 weeks

RE: mpegts: too much queued input data (over 50MB) - Added by Ivan debilas over 7 years ago

maybe ubuntu rulez?
i have an a deb8

RE: mpegts: too much queued input data (over 50MB) - Added by Ivan debilas over 7 years ago

/etc/init.d/tvheadend status
Active: active (running) since Fri 2017-06-09 10:03:26 EEST; 4h 18min ago

4h - good fly.
cpu load 25%
debian 8 + open source latest TBS driver + 4.1 tvheadend.

4.3 with some glue :((

RE: mpegts: too much queued input data (over 50MB) - Added by saen acro over 7 years ago

Are you transcoding?
25% just for streaming is too much.

(1-25/28)