Subsonic process quits on Debian

Need help? Post your questions here.

Moderator: moderators

Subsonic process quits on Debian

Postby snadam » Sun Feb 19, 2012 8:13 pm

Hopefully someone can give me some advice regarding how I should figure out why Subsonic is crashing. Thanks in advance for any input you can provide.

Problem Description: I have to restart Subsonic every day because the service crashes. The service crashes regardless of whether the site gets accessed or not.
Troubleshooting Steps: I haven't tried anything because I don't know where to start...
Playback Application and version: Integrated Subsonic interface but like mentioned before, the process stops even if I don't use the site.
Subsonic Version: 4.6 (build 2585) – December 6, 2011
Server Version: jetty-6.1.x, java 1.6.0_18, Linux (26.9 MB / 35.8 MB)
OS: Debian GNU/Linux 6.0 kernel 2.6.32-5-686
Hardware Platform: VMWare ESX hosted virtual server
Java Memory Limit: 100mb
Problem Filename: N/A

Last few lines of the log...
Code: Select all
[2012-02-19 14:27:52,540] INFO DaoHelper - Checking database schema.
[2012-02-19 14:27:53,080] INFO DaoHelper - Done checking database schema.
[2012-02-19 14:27:53,299] INFO VersionService - Resolved local Subsonic version$
[2012-02-19 14:27:54,095] INFO SearchService - Automatic index creation schedul$
[2012-02-19 14:27:54,275] INFO PodcastService - Automatic Podcast update schedu$
[2012-02-19 14:28:00,209] WARN NetworkService - No UPnP router found.
[2012-02-19 14:32:54,271] INFO PodcastService - Starting scheduled Podcast refr$
[2012-02-19 14:32:54,271] INFO PodcastService - Completed scheduled Podcast ref$
[2012-02-19 14:34:16,253] INFO VersionService - Resolved latest Subsonic final $
[2012-02-19 14:34:16,254] INFO VersionService - Resolved latest Subsonic beta v$
snadam
 
Posts: 3
Joined: Sun Feb 19, 2012 7:44 pm

Re: Subsonic process quits on Debian

Postby BKKKPewsey » Sun Feb 19, 2012 9:35 pm

I do not know what size music library you have but I would suggest increasing the java memory limit to say 256MB.
Does the SS log report anything just before the crash?
:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Subsonic process quits on Debian

Postby snadam » Mon Feb 20, 2012 1:36 am

BKKKPewsey wrote:I do not know what size music library you have but I would suggest increasing the java memory limit to say 256MB.

Right now I'm using Subsonic only for movies, if I get it running smoothly I may use it for music as well. My library contains about 650 movies which occupy 3.2TB of disc space. Based on those numbers, how do I calculate the Java memory limit size? And is the "Java memory" referring to RAM or disc space?

BKKKPewsey wrote:Does the SS log report anything just before the crash?

So far nothing of interest. I'll look at it again next time the service quits and I'll post anything that seems like it might help.
snadam
 
Posts: 3
Joined: Sun Feb 19, 2012 7:44 pm

Re: Subsonic process quits on Debian

Postby ytechie » Mon Feb 20, 2012 2:36 am

The java memory is the maximum allowed ram allocated to the operation of subsonic. With 3.2TB of movies, I would increase it to at least 512MB. Subsonic may not use all of the memory unless it needs it.

Does subsonic crash at about the same time every day? Does it crash after being used?
User avatar
ytechie
 
Posts: 547
Joined: Sun Dec 12, 2010 5:05 am
Location: Manhattan, New York

Re: Subsonic process quits on Debian

Postby snadam » Mon Feb 20, 2012 2:00 pm

ytechie wrote:The java memory is the maximum allowed ram allocated to the operation of subsonic. With 3.2TB of movies, I would increase it to at least 512MB. Subsonic may not use all of the memory unless it needs it.

Looking at /var/subsonic/subsonic.log I found entries complaining that Java "cannot allocate memory".
Based on the input I'm getting here I'm going to reconfigure the machine to have more RAM and I'll increase the memory allocated to Java. I'll let you know if that has an impact on the stability of the system
Code: Select all
[2012-02-20 08:39:50,794] WARN FFmpegParser - Error when parsing metadata in /mnt/video/_MOVIES/Bourne Supremacy, The (2004) [7.7]/Bourne Supremacy, The (2004) [7.7]-trailer.flv
java.io.IOException: Cannot run program "/var/subsonic/transcode/ffmpeg": java.io.IOException: error=12, Cannot allocate memory


ytechie wrote:Does subsonic crash at about the same time every day?

No, it crashes at different times.

ytechie wrote:Does it crash after being used?

Nope, it'll crash whether it was used or not.
snadam
 
Posts: 3
Joined: Sun Feb 19, 2012 7:44 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 26 guests