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-21-2022, 08:22 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,454
SageTV crash Aborted java

My SageTV server wasn't working yesterday. I am not 100% sure if this was an unRAID issue or a Sage issue, but I rebooted.

Today I noticed that the SageTV server process was not working. Looking at the logs for the docker I see:

Code:
/usr/local/bin/startsagecore: line 75: 316 Aborted 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>&-
Anyone have any insight as to what the issue could be? Are there any other logs I can look at to see what may have happened?

This is a server I built in January of 2022 and it was been running flawlessly since then.

I am running unRAID 6.10.o-rc2 which hasn't changed since the initial install and
__________________
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
  #2  
Old 08-22-2022, 12:59 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,666
If you restart the docker do you get the same error?

If so, can you post the full log?

k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #3  
Old 08-22-2022, 10:57 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,454
I restarted and it has been good for about 30 hours so far.
__________________
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
  #4  
Old 08-25-2022, 03:27 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,454
It crashed again this morning:

Code:
Aug 25 06:17:01 85951431ed37 CRON[24690]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Aug 25 06:25:01 85951431ed37 CRON[24699]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ))
Aug 25 06:35:50 85951431ed37 syslog-ng[23]: Configuration reload request received, reloading configuration;
Aug 25 06:35:50 85951431ed37 syslog-ng[23]: Configuration reload finished;
/usr/local/bin/startsagecore: line 75: 295 Aborted 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>&-
Aug 25 07:17:01 85951431ed37 CRON[24778]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Aug 25 08:17:01 85951431ed37 CRON[24783]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
I don't know if this is a coincidence or not but the crash appeared to be between 6:35 and 7:17. I believe the previous crash was at a similar time. The sagetv_0.txt log was last updated at 7:01. I have saved that file if that will be helpful.

Here is the tail of the sagetv_0.txt log:
Code:
Thu 8/25 7:01:19.364 [Fork-MUWSG-513715@3e894be4] Updating Disk Space Bar
Thu 8/25 7:01:19.374 [Fork-MUWSG-513715@3e894be4] Got used/avail video diskspace
Thu 8/25 7:01:19.374 [Fork-MUWSG-513715@3e894be4] Calculate size of partial recordings
Thu 8/25 7:01:19.374 [Fork-MUWSG-513715@3e894be4] Found 0 partials using 0 bytes
Thu 8/25 7:01:19.393 [Fork-MUWSG-513715@3e894be4] Calculate space required for upcoming manual/favourite airings for next X hours and display
Thu 8/25 7:01:19.412 [Fork-MUWSG-513715@3e894be4] VideoDiskspaceReqProportion: 0.4791175137689226
Thu 8/25 7:01:19.412 [Fork-MUWSG-513715@3e894be4] VideoDiskspaceFreeProportion: 0.4670321524575521
Thu 8/25 7:01:19.412 [Fork-MUWSG-513715@3e894be4] Disk Space Bar Update complete for UI context 80e82cca01a0
Thu 8/25 7:01:19.431 [ActiveRender-80e82cca01a0@5081bd22] ZRoot is aborting this draw because its unnecessary
Thu 8/25 7:01:34.786 [ThreadMonitor@4e4150cf] Top 10 Cumulative CPU(sec) Scanner-0:1218 FinalRender-0023a50009c7:397 FinalRender-0023a5000654:393 MiniUIClientReceiver:319 MiniUIClientReceiver:277 Fork-MUWSG-513715:107 ActiveRender-80e82cca01a0:86 ActiveRender-0023a50009c7:84 ActiveRender-0023a5000654:83 EPG:37
Thu 8/25 7:01:34.787 [ThreadMonitor@4e4150cf] Top 10 %CPU (last 300s)
__________________
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 08-25-2022, 08:57 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,666
Perhaps look at what cron jobs are running at 0617 to 0635. Could be related

If those are the last lines in sage log and based on the aborted message my guess is something else killed sage. Do other dockers keep operating?

k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #6  
Old 08-26-2022, 06:26 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,454
Other dockers are fine and continue to operate properly. It seems like the SageTV docker is still alive but the SageTV process within the docker aborts.

Are there any other log files that are created or something to check when the Java process crashes?
__________________
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
  #7  
Old 08-26-2022, 03:41 PM
wnjj wnjj is offline
Sage Icon
 
Join Date: Jan 2009
Posts: 1,495
You can look for hs_err_pid* files. Java writes those when the engine itself crashes.
__________________
Windows Installer
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
SageTV docker Java crash wayner SageTV for unRAID/Docker 6 03-31-2017 07:08 PM
SageTV reports Java 6 after update to Java 7? uberpixel SageTV Software 6 05-19-2013 08:36 AM
SageTV 6 Client problems after Java 7 install, Java 6 uninstall alisonnic SageTV Software 5 01-24-2013 02:51 PM
Aborted recordings using firewire tuner deria Hardware Support 2 05-09-2007 11:25 PM
Java VM Crash Running as Service RAlfieri SageTV Beta Test Software 2 10-03-2005 06:58 PM


All times are GMT -6. The time now is 06:58 PM.


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