Help with intermittant crashing

Need help? Post your questions here.

Moderator: moderators

Help with intermittant crashing

Postby ebasta » Tue Mar 31, 2020 10:53 pm

Subsonic crashes or stops intermittently about every other day. Otherwise runs perfectly - subsonic records nothing in the log files.

Problem Description: Subsonic will go offline and stop running about every other day - no set time or pattern
Troubleshooting Steps: Rebuilt database - did clean install. Did not help
Playback Application and version: All browesrs
Subsonic Version: 6.1.6 (build 0cfa60) – November 10, 2019
Server Version: 6.1.6 (build 0cfa60) – November 10, 2019
Hardware Platform: Debian Stretch (ARM7) with Armbian Linux 4.14.150-odroidxu4
Java Memory Limit: 512mb
Problem Filename: N/A
Output from ffmpeg -i:
Code: Select all
ffmpeg version N-47764-g16ec62bbf4-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-gray --enable-libfribidi --enable-libass --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libxml2 --enable-libxvid --enable-libzimg
  libavutil      56. 24.101 / 56. 24.101
  libavcodec     58. 42.104 / 58. 42.104
  libavformat    58. 24.101 / 58. 24.101
  libavdevice    58.  6.101 / 58.  6.101
  libavfilter     7. 46.101 /  7. 46.101
  libswscale      5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100

Last ten log file lines: (The last ten or so lines copied and pasted from the About screen in the Subsonic Web Interface. Ideally these will be in a CODE block as well.)
Code: Select all
[3/31/20 3:30:09 PM PDT]    INFO   VersionService   Resolved local Subsonic version to: 6.1.6
[3/31/20 3:30:10 PM PDT]    INFO   MediaScannerService   Automatic media library scanning scheduled to run every 1 day(s), starting at Wed Apr 01 03:00:00 PDT 2020
[3/31/20 3:30:10 PM PDT]    INFO   UPnPService   Starting UPnP service...
[3/31/20 3:30:10 PM PDT]    INFO   PodcastService   Automatic Podcast update scheduled to run every 24 hour(s), starting at Tue Mar 31 15:35:10 PDT 2020
[3/31/20 3:30:11 PM PDT]    INFO   UPnPService   Enabling UPnP/DLNA media server
[3/31/20 3:30:11 PM PDT]    INFO   UPnPService   Starting UPnP service - Done!
[3/31/20 3:30:20 PM PDT]    WARN   NetworkService   No UPnP router found.
[3/31/20 3:33:17 PM PDT]    INFO   BootstrapVerificationFilter   Servlet container: jetty-6.1.x
[3/31/20 3:33:22 PM PDT]    INFO   VersionService   Resolved latest Subsonic final version to: 6.1.6
[3/31/20 3:33:22 PM PDT]    INFO   VersionService   Resolved latest Subsonic beta version to: 6.1.beta2


Subsonic operates normally and very well when restarting the whole server
ebasta
 
Posts: 92
Joined: Fri Dec 17, 2010 8:07 pm

Re: Help with intermittant crashing

Postby 3Dscrewer » Wed Apr 01, 2020 9:46 am

Is the odroid running from HDD or SD-Card? How many Titles are in your Database?
I have seen problems reading (scanning) and writing the database at the same time with huge database plus 100k.
I don't know how many RAM your system has, adjusting the JAVA Memory might be helpful.

Did you read the (extended) system Logs? There might be more informations.
3Dscrewer
 
Posts: 197
Joined: Tue Feb 13, 2018 1:11 pm

Re: Help with intermittant crashing

Postby ebasta » Wed Apr 01, 2020 8:02 pm

The odroid HC2 is running both the operating system and serving the music from HDD. My library is:

4,978 artists
14,953 albums
235,692 songs
1522.11 GB
14,568 hours

The HC2 has 2Gb of LPDDR3 RAM.

I cannot seem to find the extended logs. Where would they be placed? i can adjust the ram up to 1024, if that would help?
ebasta
 
Posts: 92
Joined: Fri Dec 17, 2010 8:07 pm

Re: Help with intermittant crashing

Postby LRanger » Thu Apr 02, 2020 2:46 am

I'm also running on an Odroid HC2, Ubuntu 18.04 Subsonic max-memory=150.

Do you have a swap file configured?

btw, Odroid has an optimised ffmpeg version.
LRanger
 
Posts: 48
Joined: Thu Mar 03, 2016 10:51 am

Re: Help with intermittant crashing

Postby 3Dscrewer » Thu Apr 02, 2020 9:04 am

I'm running Subsonic at Windows and Airsonic (an Subsonic Clone) in an Ubuntu 18.04LTS virtual Machine
My Database is very similar

6.402 Künstler
20.173 Alben
232.919 Songs
9097,44 GB (~ 19.764 Stunden)

I use 750MB (JAVA) Memory, otherwise is scanning very slow and needs a lot of CPU, may be because I have 50% lossless files, they are much bigger.
Another Hint, I have tried a raspi 3B he switched off because getting to hot.

Have a look at System Logs at /var/logs they are really long and sometimes not easy to read, but most errors are to find there.
3Dscrewer
 
Posts: 197
Joined: Tue Feb 13, 2018 1:11 pm

Re: Help with intermittant crashing

Postby ebasta » Thu Apr 02, 2020 10:30 pm

I don't see anything relevant in syslogs, I will try bumping java memory up to 750 although i don't have any issue in scanning. I am using the ffmpeg that comes with armbian and symlinking to ffmpeg in the ../transocode folder - that has always worked in the past until recently. When it crashes next time I'll check syslogs again.
ebasta
 
Posts: 92
Joined: Fri Dec 17, 2010 8:07 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 16 guests