SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux > SageTV for unRAID/Docker
Forum Rules FAQs Community Downloads Today's Posts Search

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 01-06-2018, 08:47 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Sage killed occasionally

So over the past few months, I've occasionally found in the morning that Sage is no longer running. When I looked in the sagetv_x.log file there was nothing out of the ordinary, the log just ended. There were no hs_err_pid files either.

I just had it happen again this morning but this time I tried checking the unRAID/Docker log and found this:

Code:
./startsagecore: line 55:   114 Killed                   java -Djava.awt.headless=$HEADLESS $JAVAMEM  -XX:+UseAdaptiveSizePolicy -XX:MaxGCPauseMillis=25 -XX:GCTimeRatio=24  $(if [[ $EUID -eq 0 ]]; then echo '-XX:ThreadPriorityPolicy=1'; fi)  $JAVAOPTS -cp Sage.jar:JARs/lucene-core-3.6.0.jar:/:$(echo JARs/*.jar |  sed 's/  */:/g') sage.Sage 0 0 x "sagetv Sage.properties" 0>&-
Not really sure what else to check for, thoughts?
Reply With Quote
  #2  
Old 01-06-2018, 10:36 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
I had a similar situation in the past where certain times of image files being displayed by the Screen Saver were causing Java to crash.

Would you have clients like extenders that stay on trying to render the screen saver?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #3  
Old 01-06-2018, 12:12 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
There shouldn't be any. All my setups have shutdown macros that turn off the extenders along with everything else. That and there was nothing in the log, it ended like this:

Code:
Sat 1/6 4:30:30.222 [Seeker@22be474] Seeker waiting for 84 mins.
Sat 1/6 4:31:20.964 [Ministry@756fc8b9] Ministry is waiting for 180 sec
Sat 1/6 4:31:21.047 [ThreadMonitor@6577a6ae] Top 10 Cumulative CPU(sec) AsyncPropSaver:907 ReProcessHook:480 ReProcessHook:398 ReProcessHook:145 Timer-5:89 ReProcessHook:51 EPG:42 AsyncPropSaver:41 Seeker:27 ReProcessHook:24
Sat 1/6 4:31:21.047 [ThreadMonitor@6577a6ae] Top 10 %CPU (last 300s)
Sat 1/6 4:34:29.269 [Ministry@756fc8b9] Ministry is waiting for 180 sec
Looking at the current log, which has an extender running the screensaver right now, I can see each picture loaded in the log. On top of that, since I've been at home on vacation, I've had the screensaver running on one extender basically all day, every day, and Sage has never crashed.

Interestingly, looking at the unraid/Docker log, it seems like it's always between 4 and 5am that Sage dies or is killed....

....

So I checked my syslog, and it looks like Bunker (File Integrity Plugin) happens to be running, and running out of memory at the same time, so I reduced my disk cache settings based on some recommendations here:
https://lime-technology.com/forums/t...lp-please-635/

We'll see what happens.
Reply With Quote
  #4  
Old 01-06-2018, 12:40 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Ok, good luck. I bet it was that memory issue - I think I have seen that before in the forums - either here or Lime.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #5  
Old 01-06-2018, 01:43 PM
BobPhoenix BobPhoenix is offline
SageTVaholic
 
Join Date: Oct 2004
Posts: 3,152
On one of my servers I was constantly getting SageTV Docker crashes. When I disabled CommercialDetector in the docker so that ComSkip didn't get called my problems disappeared. I now use DirMon2 running on a Windows VM calling ComSkip also installed on the VM. My other SageTV Docker instance hasn't had any problems but it is only running comskip on MPG files not H.264 TS files like the one that crashed approximately every week. Also those H.264 TS files are HD-PVR recordings with 5.1 sound. It is possible that if I only recorded Stereo in the H.264 TS files I wouldn't have had problems either but I'm not going to give that up.
__________________
"Keep your goals away from the trolls"
Reply With Quote
  #6  
Old 01-06-2018, 02:55 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Are you running some sort of backup utility on unRAID... some of those kill the docker containers, then back up, and then optionally restart.
Reply With Quote
  #7  
Old 01-06-2018, 07:17 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by stuckless View Post
Are you running some sort of backup utility on unRAID... some of those kill the docker containers, then back up, and then optionally restart.
Nope, well I've got crashplan, but that doesn't restart things. I'm thinking it's FIP/Bunker OOM, I had a couple of those pop up in the log right in the window when Sage would get killed.
Reply With Quote
Reply


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

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
killed sage while trying to install videoTools 3.0 goatboy22382 SageMC Custom Interface 1 05-06-2009 07:20 PM
Sage 6.2 killed my MVP? michaeldjcox SageTV Media Extender 8 10-03-2007 06:57 AM
Sage Occasionally Just Quits RAlfieri SageTV Software 2 07-06-2006 05:32 PM
Sage occasionally not recording shows SteveP SageTV Software 2 10-24-2004 06:46 PM
I Killed Sage.... broderp SageTV Software 10 06-09-2004 12:41 PM


All times are GMT -6. The time now is 05:21 PM.


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