Project

General

Profile

TvHeadend restart no reason

Added by Dave Cumming about 7 years ago

Hey guys,

I'm using TVH for IPTV 24/7 online grabbing channels (no transcoding, only passthrough) CPU at around 60-70%
when it work its work flawlessly, but in approx every 24 hours it disconnect for one second and return back to operation what makes some overload to CA modules and corrupt DVR files on 3rd party transcoders...

Any chance to fix that immediate restart?

Thanks!


Replies (7)

RE: TvHeadend restart no reason - Added by Robert Cameron about 7 years ago

What do your logs say just before the restart occurs?

RE: TvHeadend restart no reason - Added by Dave Cumming about 7 years ago

Sorry for my ignorance, but where can i find log file?
I'm running TVH on pre-installed TBS MOI V

Thanks!

RE: TvHeadend restart no reason - Added by Robert Cameron about 7 years ago

Location of logs may vary based upon your OS/distro. That's a device I've never heard of, so I can't help you.

RE: TvHeadend restart no reason - Added by Dave Cumming about 7 years ago

Found it, log attached.

Sep 22 21:52:52 localhost tvheadend[17276]: CRASH: Signal: 11 in PRG: /usr/bin/tvheadend (4.1-2135~g631b6b5-dirty) [34db0688716b94b91ae345e30f3e42e0fa224347] CWD: /
Sep 22 21:52:52 localhost tvheadend: 2017-09-22 21:52:52.905 [  ALERT] CRASH: Signal: 11 in PRG: /usr/bin/tvheadend (4.1-2135~g631b6b5-dirty) [34db0688716b94b91ae345e30f3e42e0fa224347] CWD: /
Sep 22 21:52:52 localhost tvheadend: 2017-09-22 21:52:52.905 [  ALERT] CRASH: Fault address (nil) (N/A)
Sep 22 21:52:52 localhost tvheadend[17276]: CRASH: Fault address (nil) (N/A)
Sep 22 21:52:52 localhost tvheadend[17276]: CRASH: Loaded libraries: /lib64/libdvbcsa.so.1 /lib64/libdvben50221.so /lib64/libdvbapi.so /lib64/libucsi.so /lib64/libdl.so.2 /lib64/libpthread.so.0 /lib64/libm.so.6 /lib64/libiconv.so.2 /lib64/librt.so.1 /lib64/libssl.so.10 /lib64/libcrypto.so.10 /lib64/libstdc++.so.6 /lib64/libc.so.6 /lib64/ld-linux-x86-64.so.2 /lib64/libgssapi_krb5.so.2 /lib64/libkrb5.so.3 /lib64/libcom_err.so.2 /lib64/libk5crypto.so.3 /lib64/libz.so.1 /lib64/libgcc_s.so.1 /lib64/libkrb5support.so.0 /lib64/libkeyutils.so.1 /lib64/libresolv.so.2 /lib64/libselinux.so.1 /lib64/libpcre.so.1 /lib64/libnss_files.so.2
Sep 22 21:52:52 localhost tvheadend[17276]: CRASH: Register dump [23]: 00000000000000010000000000004506000000000000000000000000000002060000000000000011000000000000002100007fbd247cf8e000000000000000020000000000000011000055def88e191000007fbd247cf8c000007fbd247cf730000000000000002674c5a5aa0d01514f000000000000000000007fbd247cf720000055def67a5f68000000000001020200000000000000330000000000000000000000000000000dfffffffe7ffbba110000000000000000
Sep 22 21:52:52 localhost tvheadend: 2017-09-22 21:52:52.905 [  ALERT] CRASH: Loaded libraries: /lib64/libdvbcsa.so.1 /lib64/libdvben50221.so /lib64/libdvbapi.so /lib64/libucsi.so /lib64/libdl.so.2 /lib64/libpthread.so.0 /lib64/libm.so.6 /lib64/libiconv.so.2 /lib64/librt.so.1 /lib64/libssl.so.10 /lib64/libcrypto.so.10 /lib64/libstdc++.so.6 /lib64/libc.so.6 /lib64/ld-linux-x86-64.so.2 /lib64/libgssapi_krb5.so.2 /lib64/libkrb5.so.3 /lib64/libcom_err.so.2 /lib64/libk5crypto.so.3 /lib64/libz.so.1 /lib64/libgcc_s.so.1 /lib64/libkrb5support.so.0 /lib64/libkeyutils.so.1 /lib64/libresolv.so.2 /lib64/libselinux.so.1 /lib64/libpcre.so.1 /lib64/libnss_files.so.2
Sep 22 21:52:52 localhost tvheadend: 2017-09-22 21:52:52.905 [  ALERT] CRASH: Register dump [23]: 00000000000000010000000000004506000000000000000000000000000002060000000000000011000000000000002100007fbd247cf8e000000000000000020000000000000011000055def88e191000007fbd247cf8c000007fbd247cf730000000000000002674c5a5aa0d01514f000000000000000000007fbd247cf720000055def67a5f68000000000001020200000000000000330000000000000000000000000000000dfffffffe7ffbba110000000000000000
Sep 22 21:52:52 localhost tvheadend: 2017-09-22 21:52:52.905 [  ALERT] CRASH: STACKTRACE
Sep 22 21:52:52 localhost tvheadend[17276]: CRASH: STACKTRACE
Sep 22 21:52:52 localhost tvheadend[17276]: CRASH: ??:0 0x55def673f57a
Sep 22 21:52:52 localhost tvheadend: 2017-09-22 21:52:52.930 [  ALERT] CRASH: ??:0 0x55def673f57a
Sep 22 21:52:52 localhost tvheadend[17276]: CRASH: ??:0 0x7fbd832de370
Sep 22 21:52:52 localhost tvheadend: 2017-09-22 21:52:52.955 [  ALERT] CRASH: ??:0 0x7fbd832de370
Sep 22 21:52:52 localhost tvheadend[17276]: CRASH: ??:0 0x55def67a5f68
Sep 22 21:52:52 localhost tvheadend: 2017-09-22 21:52:52.981 [  ALERT] CRASH: ??:0 0x55def67a5f68
Sep 22 21:52:53 localhost tvheadend[17276]: CRASH: ??:0 0x55def67a6286
Sep 22 21:52:53 localhost tvheadend: 2017-09-22 21:52:53.005 [  ALERT] CRASH: ??:0 0x55def67a6286
Sep 22 21:52:53 localhost tvheadend[17276]: CRASH: ??:0 0x55def670a178
Sep 22 21:52:53 localhost tvheadend: 2017-09-22 21:52:53.027 [  ALERT] CRASH: ??:0 0x55def670a178
Sep 22 21:52:53 localhost tvheadend[17276]: CRASH: ??:0 0x7fbd832d6dc5
Sep 22 21:52:53 localhost tvheadend[17276]: CRASH: clone+0x6d  (/lib64/libc.so.6)
Sep 22 21:52:53 localhost kernel: traps: tvh:mi-table[17670] general protection ip:55def67a5f68 sp:7fbd247cf720 error:0 in tvheadend[55def6592000+f70000]
Sep 22 21:52:53 localhost tvheadend: 2017-09-22 21:52:53.050 [  ALERT] CRASH: ??:0 0x7fbd832d6dc5
Sep 22 21:52:53 localhost tvheadend: 2017-09-22 21:52:53.050 [  ALERT] CRASH: clone+0x6d  (/lib64/libc.so.6)
Sep 22 21:52:53 localhost systemd: tvheadend.service: main process exited, code=killed, status=11/SEGV
Sep 22 21:52:53 localhost systemd: Unit tvheadend.service entered failed state.
Sep 22 21:52:53 localhost systemd: tvheadend.service failed.
Sep 22 21:52:53 localhost systemd: tvheadend.service holdoff time over, scheduling restart.
Sep 22 21:52:53 localhost systemd: Started TV streaming server.
Sep 22 21:52:53 localhost systemd: Starting TV streaming server...
Sep 22 21:52:53 localhost tvheadend[3700]: main: Log started

RE: TvHeadend restart no reason - Added by Robert Cameron about 7 years ago

I would seriously consider upgrading to 4.2.3, the current version. 4.1 is quite outdated by now.

RE: TvHeadend restart no reason - Added by Dave Cumming about 7 years ago

How to do it while preserving current configuration?
It's running on centos 6.8...

Thank you very much

RE: TvHeadend restart no reason - Added by Robert Cameron about 7 years ago

Configuration files are the same, so just upgrade in place. Install the up-to-date version from your OS repos.

    (1-7/7)