Subsonic stopped working on Debian/Wheezy

Need help? Post your questions here.

Moderator: moderators

Subsonic stopped working on Debian/Wheezy

Postby cptnemo » Mon May 06, 2013 4:57 am

Hello,
Subsonic was happily running until yesterday on my Debian/Wheezy. Today I couldn't connect anymore: not with the iPhone app nore through the browser. I can start and stop subsonic from shell without receiving any error message with
Code: Select all
/etc/init.d/subsonic stop
and
Code: Select all
/etc/init.d/subsonic start
.

After manually starting Subsonic I receive
Code: Select all
Started Subsonic [PID 2619, /var/subsonic/subsonic_sh.log]
but the log contains these lines
Code: Select all
[GC (Allocation Failure) 1664K->661K(5888K), 0.0309180 secs]
; [
Code: Select all
GC (Allocation Failure) 2319K->1100K(5888K), 0.0423920 secs]
; etc.

The only subsonic event between yesterday and today was the scheduled refresh of the music library subsonic run every night.
cptnemo
 
Posts: 1
Joined: Mon May 06, 2013 4:48 am

Re: Subsonic stopped working on Debian/Wheezy

Postby Vektrat » Wed Jun 12, 2013 9:44 am

I got exactly the same issue, Full GC and Allocation failures.
Vektrat
 
Posts: 1
Joined: Wed Jun 12, 2013 9:43 am

Re: Subsonic stopped working on Debian/Wheezy

Postby PRAEst76 » Thu Jun 20, 2013 3:28 pm

I'm also having this issue. I'm using Subsonic on a 256M Raspberry Pi so I'm assuming it's related to memory.

java --showversion is:

Code: Select all
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b36e)
Java HotSpot(TM) Client VM (build 25.0-b04, mixed mode)
User avatar
PRAEst76
 
Posts: 13
Joined: Mon Feb 22, 2010 10:50 pm
Location: Nottinghamshire, England

Re: Subsonic stopped working on Debian/Wheezy

Postby stozher » Sat Jun 22, 2013 3:46 am

See /usr/bin/subsinic (or /usr/bin/subsonic.sh):

Code: Select all
SUBSONIC_MAX_MEMORY="512"

Code: Select all
${JAVA} -Xmx${SUBSONIC_MAX_MEMORY}M \
  -Dsubsonic.home="$SUBSONIC_HOME" \
  -Dsubsonic.host="$SUBSONIC_HOST" \
  -Dsubsonic.port="$SUBSONIC_PORT" \
  -Dsubsonic.httpsPort="$SUBSONIC_HTTPS_PORT" \
  -Dsubsonic.contextPath="$SUBSONIC_CONTEXT_PATH" \
  -Dsubsonic.defaultMusicFolder="$SUBSONIC_DEFAULT_MUSIC_FOLDER" \
  -Dsubsonic.defaultPodcastFolder="$SUBSONIC_DEFAULT_PODCAST_FOLDER" \
  -Dsubsonic.defaultPlaylistFolder="$SUBSONIC_DEFAULT_PLAYLIST_FOLDER" \
  -Djava.awt.headless=true -verbose:gc \
  -XX:+CMSIncrementalMode -XX:+UseConcMarkSweepGC \
  -jar subsonic-booter-jar-with-dependencies.jar > "$LOG" 2>&1 &

...also increase memory option "--max-memory=512" in /etc/default/subsonic
http://music.stozher.com:8080/login.view?user=guest&password=
User avatar
stozher
 
Posts: 313
Joined: Tue Nov 16, 2010 10:56 am
Location: Sofia, Bulgaria


Return to Help

Who is online

Users browsing this forum: No registered users and 22 guests