SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux > SageTV for unRAID/Docker

Notices

SageTV for unRAID/Docker Discussion related to SageTV for unRAID/Docker. Questions, issues, problems, suggestions, etc. relating to SageTV for unRAID/Docker should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-17-2018, 04:00 AM
broconne broconne is offline
Sage Aficionado
 
Join Date: Feb 2009
Location: Cary, NC
Posts: 306
Debugging Hung SageTV in Docker

I am using the stuckless/sagetv-server-java8:latest docker container for SageTV. I have two HDHR tuners.

I have an issue where SageTV runs for maybe a couple of days and then hangs. I am running this on an Ubuntu server. I see no exceptions in the logs, the most recent "MemStats" entries look ok. SageTV just stops logging.

Are there any tips to figure out where to look as to why SageTV is just hanging in docker?

Below are the last few log lines I see before it stops.
Code:
Mon 8/6 0:12:29.450 [Ministry@a24d060] Ministry is waiting for 180 sec
Mon 8/6 0:12:32.981 [ThreadMonitor@70aeac6] Top 10 Cumulative CPU(sec) Timer-0:56 AsyncPropSaver:32 1363498639@qtp-468237354-8_-_Acceptor1_SelectChannelConnector@0.0.0.0:8080:7 902980376@qtp-468237354-9_-_Acceptor0_SelectChannelConnector@0.0.0.0:8080:7 EPG:6 HotplugStorage:5 main:4 Seeker:3 MiniBootp:2 MiniMVP:2
Mon 8/6 0:12:44.212 [ThreadMonitor@70aeac6] Top 10 %CPU (last 300s)
Mon 8/6 0:15:04.998 [Fork-XJXYO-750@734eae96] Updating weather
Mon 8/6 0:15:20.782 [Fork-XJXYO-750@68efee82] Updating weather
Mon 8/6 0:15:31.046 [Seeker@f268a27] Seeker awoken
Mon 8/6 0:15:34.857 [Ministry@a24d060] Ministry is waiting for 180 sec
Mon 8/6 0:15:44.277 [Seeker@f268a27] MemStats: Used=253MB Total=763MB Max=805MB
Mon 8/6 0:15:54.209 [Seeker@f268a27] MARK 1 currRecord=null enc=HDHomeRun 101773dc Tuner 1 clients=[] ir=false
Mon 8/6 0:16:01.751 [Seeker@f268a27] Seeker in AUTOMATIC mode nextRecord=null nextTTA=9223372036854775807
Mon 8/6 0:16:10.261 [Seeker@f268a27] newRecord=null
Mon 8/6 0:16:18.578 [Seeker@f268a27] NOTHING TO RECORD FOR NOW...
Mon 8/6 0:16:24.786 [Seeker@f268a27] MARK 1 currRecord=null enc=HDHomeRun 101773dc Tuner 0 clients=[] ir=false
Mon 8/6 0:16:32.963 [Seeker@f268a27] Seeker in AUTOMATIC mode nextRecord=null nextTTA=9223372036854775807
Mon 8/6 0:16:40.664 [Seeker@f268a27] newRecord=null
Mon 8/6 0:16:47.564 [Seeker@f268a27] NOTHING TO RECORD FOR NOW...
Mon 8/6 0:16:56.420 [Seeker@f268a27] MARK 1 currRecord=null enc=HDHomeRun 1017a350 Tuner 0 clients=[] ir=false
Mon 8/6 0:17:01.837 [Seeker@f268a27] Seeker in AUTOMATIC mode nextRecord=null nextTTA=9223372036854775807
Mon 8/6 0:17:07.761 [Seeker@f268a27] newRecord=null
__________________
Host: ESXi 6.5 w/ Intel Core i7 2.8GHZ 8GB Ram
Guest: Ubuntu 16.04 with Sage v9 in Docker
Tuners: 2 HDHR (OTA);
Extenders: HD300 connected to a Samsung 56" DLP HDTV; HD300 connected to a Sharp 42" LCD
Storage: OmniOS w/6 1TB Samsung Spinpoint in a RaidZ2 configuration in a 20 bay SATA hotswap case.
Reply With Quote
  #2  
Old 08-17-2018, 04:16 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,541
Do you know if the java process is still running? Do you see any java crash logs? Maybe jvm is just crashing?
Reply With Quote
  #3  
Old 08-17-2018, 08:08 AM
broconne broconne is offline
Sage Aficionado
 
Join Date: Feb 2009
Location: Cary, NC
Posts: 306
Thanks for reponing Stuckless.

Good question, if I attach to the container, I don't see the java process running.

I don't see any java crash logs. I searched for anything with "java" and "core" in it and came up empty.
__________________
Host: ESXi 6.5 w/ Intel Core i7 2.8GHZ 8GB Ram
Guest: Ubuntu 16.04 with Sage v9 in Docker
Tuners: 2 HDHR (OTA);
Extenders: HD300 connected to a Samsung 56" DLP HDTV; HD300 connected to a Sharp 42" LCD
Storage: OmniOS w/6 1TB Samsung Spinpoint in a RaidZ2 configuration in a 20 bay SATA hotswap case.
Reply With Quote
  #4  
Old 08-17-2018, 08:19 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,541
Quote:
Originally Posted by broconne View Post
Thanks for reponing Stuckless.

Good question, if I attach to the container, I don't see the java process running.

I don't see any java crash logs. I searched for anything with "java" and "core" in it and came up empty.
It's odd that there is no indication as to why sagetv is stopping. typically is java crashes, it write a javacore file in the home directory of the java process (so, /opt/sagetv/server). Typically if another plugin forces sagetv to stop (ie, tcp server was doing this), you'd see some logging about sagetv exiting.

I'm using the docker container on unRAID and I go months without rebooting/restarting, etc, and I've never had it just die
Reply With Quote
  #5  
Old 08-17-2018, 09:08 AM
broconne broconne is offline
Sage Aficionado
 
Join Date: Feb 2009
Location: Cary, NC
Posts: 306
Perhaps the docker daemon is killing it.. My logs don't go that far back. I will restart and keep an eye out and then see if I find anything in the docker logs.
__________________
Host: ESXi 6.5 w/ Intel Core i7 2.8GHZ 8GB Ram
Guest: Ubuntu 16.04 with Sage v9 in Docker
Tuners: 2 HDHR (OTA);
Extenders: HD300 connected to a Samsung 56" DLP HDTV; HD300 connected to a Sharp 42" LCD
Storage: OmniOS w/6 1TB Samsung Spinpoint in a RaidZ2 configuration in a 20 bay SATA hotswap case.
Reply With Quote
  #6  
Old 08-23-2018, 04:04 AM
broconne broconne is offline
Sage Aficionado
 
Join Date: Feb 2009
Location: Cary, NC
Posts: 306
During troubleshooting I found some errors in the docker logs. Following the thread of the errors, I was on and old version of docker (1.13). Updated docker, rebooted, so far so good.
__________________
Host: ESXi 6.5 w/ Intel Core i7 2.8GHZ 8GB Ram
Guest: Ubuntu 16.04 with Sage v9 in Docker
Tuners: 2 HDHR (OTA);
Extenders: HD300 connected to a Samsung 56" DLP HDTV; HD300 connected to a Sharp 42" LCD
Storage: OmniOS w/6 1TB Samsung Spinpoint in a RaidZ2 configuration in a 20 bay SATA hotswap case.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Docker Configuration via Synology Docker GUI Carlton Bale SageTV for unRAID/Docker 14 05-13-2018 12:24 AM
Is my SageTV docker stuck or not ? makutaku SageTV for unRAID/Docker 21 03-13-2017 09:32 PM
Hung SageTV Service Process sdsean SageTV Software 1 04-22-2013 03:24 PM
a way to kill a hung SageTv.exe process (win7) Gustovier SageTV Software 19 04-27-2011 06:38 PM
SageTV server logs & hung SageTV service Surtr SageTV Software 4 02-15-2006 08:37 PM


All times are GMT -6. The time now is 02:16 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.