[HELP] Subsonic Java Issue/Crash every few days

Need help? Post your questions here.

Moderator: moderators

[HELP] Subsonic Java Issue/Crash every few days

Postby jpilcicki » Wed Oct 01, 2014 12:03 am

Hi all, for quite some time now I've been having this constant error where Subsonic stops letting me connect after a few days of uptime. The tray icon still says that it is running, but I can't connect locally or from the web. It's a simple fix, I just have to stop the service and then restart it, but it seems to 'go down' every 3 or 4 days. If it helps, I also have a very large library, 1.3TB worth of music (mostly live concerts, for those curious)

Troubleshooting: I've tried increasing the memory limit, and I also re-installed Java after looking at the error log and seeing there was a java error. I also upgraded from version 4.9 stable to beta 2 and now to 5.0 stable, thinking it would be fixed with an upgrade.
Playback application: Happens on all devices and web, from both the host machine/network and outside networks.
Server info:
Version 5.0 (build 4100) – September 21, 2014
Server jetty-6.1.x, java 1.7.0_67, Windows 7 (61.4 MB / 82.0 MB)Hardware OS: Windows 7 x64
Memory limit: Set to 1600, memory used is at 60 when its currently in a 'crashed' state
Error log:
Code: Select all
[2014-09-30 18:51:44,029] WARN NetworkService - No UPnP router found.
[2014-09-30 19:51:44,250] WARN NetworkService - Failed to find NAT-PMP router.
java.lang.OutOfMemoryError: unable to create new native thread
   at java.lang.Thread.start0(Native Method)
   at java.lang.Thread.start(Unknown Source)
   at com.hoodcomputing.natpmp.MessageQueue.createMessageQueue(MessageQueue.java:70)
   at com.hoodcomputing.natpmp.NatPmpDevice.<init>(NatPmpDevice.java:91)
   at net.sourceforge.subsonic.service.upnp.NATPMPRouter.findRouter(NATPMPRouter.java:38)
   at net.sourceforge.subsonic.service.NetworkService$PortForwardingTask.findRouter(NetworkService.java:201)
   at net.sourceforge.subsonic.service.NetworkService$PortForwardingTask.execute(NetworkService.java:135)
   at net.sourceforge.subsonic.service.NetworkService$Task.run(NetworkService.java:306)
   at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
   at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

[2014-09-30 19:51:44,250] WARN NetworkService - No UPnP router found.


Thanks for any help you can provide!
jpilcicki
 
Posts: 6
Joined: Sat Sep 20, 2014 2:50 pm

Re: [HELP] Subsonic Java Issue/Crash every few days

Postby jpilcicki » Wed Oct 01, 2014 12:55 am

From doing a bit more googling, sounds like the memory limit I have specified is WAY too high. Could that be hurting the server? I dropped it to 250mb.
jpilcicki
 
Posts: 6
Joined: Sat Sep 20, 2014 2:50 pm

Re: [HELP] Subsonic Java Issue/Crash every few days

Postby saphyrre » Tue Oct 07, 2014 4:40 pm

java.lang.OutOfMemoryError - seems to me you don't have enough memory. If your library has multiple folders, try adding one folder at a time and let the scan finish before addig more folders. It's also possible you didn't set the memory limit correctly.
saphyrre
 
Posts: 11
Joined: Sun Jan 16, 2011 2:00 am


Return to Help

Who is online

Users browsing this forum: No registered users and 16 guests