You are not logged in.

#1 2018-05-02 18:35:24

deisi
Member
Registered: 2015-10-21
Posts: 66

tvheadend crashes and becomes zombie process

Hey,

I'm currently having troubles to run tvheadend on my arch linux server. Here is some of the journalctl.

Apr 23 21:46:35 serv tvheadend[1143]: epgdb:   broadcasts 4797
Apr 23 21:46:35 serv tvheadend[1143]: dvr: unable to stat file '/volume1/video/TV/Der Blaue Planet (1-6).ts'
Apr 23 21:46:35 serv tvheadend[1143]: dvr: unable to stat file '/volume1/video/TV/Das Microsoft-Dilemma.ts'
Apr 23 21:46:35 serv tvheadend[1143]: dvr: failed to add inotify watch to /volume1/video/TV (err=No such file or directory)
Apr 23 21:46:35 serv tvheadend[1143]: dvr: failed to add inotify watch to /volume1/video/TV (err=No such file or directory)
Apr 23 21:46:35 serv tvheadend[1143]: dvr: entry c4a1176a8778337780057a2d3af1c7e5 "Tagesschau" on "Das Erste HD" starting at 2018-04-
Apr 23 21:46:35 serv tvheadend[1143]: START: HTS Tvheadend version 4.2.6 started, running as PID:1143 UID:617 GID:91, CWD:/ CNF:/home
Apr 23 21:46:35 serv tvheadend[1143]: mpegts: 10743.75H in heim - tuning on Montage Technology M88DS3103 #0 : DVB-S #0
Apr 23 21:46:36 serv tvheadend[1143]: diseqc: failed to disable tone
Apr 23 21:46:36 serv tvheadend[1143]: linuxdvb: adapter removed /dev/dvb/adapter0
Apr 23 21:46:37 serv tvheadend[1143]: scanfile: DVB-S - loaded 1 regions with 113 networks
Apr 23 21:46:37 serv tvheadend[1143]: scanfile: DVB-T - loaded 44 regions with 1125 networks
Apr 23 21:46:37 serv tvheadend[1143]: scanfile: DVB-C - loaded 18 regions with 60 networks
Apr 23 21:46:37 serv tvheadend[1143]: scanfile: ATSC-T - loaded 2 regions with 12 networks
Apr 23 21:46:37 serv tvheadend[1143]: scanfile: ATSC-C - loaded 1 regions with 5 networks
Apr 23 21:46:37 serv tvheadend[1143]: scanfile: ISDB-T - loaded 2 regions with 1297 networks
Apr 23 21:46:37 serv tvheadend[1143]: avahi: Service 'Tvheadend' successfully established.
Apr 24 19:37:27 serv systemd[1]: Stopping tvheadend...
Apr 24 19:38:57 serv systemd[1]: tvheadend.service: State 'stop-sigterm' timed out. Killing.
Apr 24 19:38:57 serv systemd[1]: tvheadend.service: Killing process 1143 (tvheadend) with signal SIGKILL.
Apr 24 19:38:57 serv systemd[1]: tvheadend.service: Main process exited, code=killed, status=9/KILL
Apr 24 19:38:57 serv systemd[1]: tvheadend.service: Failed with result 'timeout'.
Apr 24 19:38:57 serv systemd[1]: Stopped tvheadend.

problem is, that it doesn't open the web interface on port 9981, however from systemd status it looks like it is actually working just fine. stopping tvheadend.service, takes forever if it works at all.

For debugging purpose i tried running it from terminal, but similiar situation here. Debug was rather empty, though there are a lot of options I have not explored completely.

Interesting is, that if i start it from terminal, the process end up as a zombie process:

malte    18335  0.0  0.2 589468 36240 ?        D    20:12   0:00 tvheadend -d

and from now on I need to reboot, to be able to start it again. I assume it is because it blocks the port 9981, that actually never worked beforehand.

I already tried tvheadend and tvheadend-git from aur. In both cases I got the same result. Next step would be to reset configuration completely and see if it works then.

Any other suggestions or other people with the problem?

Last edited by deisi (2018-05-02 18:35:59)

Offline

Board footer

Powered by FluxBB