Page 1 of 1

[solved] Subsonic Keeps Shutting Down

PostPosted: Sun Apr 15, 2012 5:18 pm
by tmwsiy
Problem Description: Last several days, Subsonic keeps turning off and I have to restart it.
Troubleshooting Steps: Tried a full reinstall, updated Java
Playback Application and version: All
Subsonic Version: 4.6 (build 2583) – December 6, 2011
Server Version: jetty-6.1.x, java 1.6.0_31, Windows 7 (66.5 MB / 96.7 MB)
Hardware Platform: Win7
Java Memory Limit: 100Mb

Every time this happens, my log is deleted and I start with an empty log file. Where do my old log files go?
This is the log file from today:

Code: Select all
[2012-04-15 10:11:26,349] INFO DaoHelper - Checking database schema.
[2012-04-15 10:11:26,660] INFO DaoHelper - Done checking database schema.
[2012-04-15 10:11:27,273] INFO VersionService - Resolved local Subsonic version to: 4.6
[2012-04-15 10:11:27,823] INFO SearchService - Automatic index creation scheduled to run every 1 day(s), starting at Mon Apr 16 03:00:00 EDT 2012
[2012-04-15 10:11:28,031] INFO PodcastService - Automatic Podcast update scheduled to run every 24 hour(s), starting at Sun Apr 15 10:16:28 EDT 2012
[2012-04-15 10:11:32,321] INFO NetworkService - Successfully forwarding port 8044.
[2012-04-15 10:13:17,151] INFO VersionService - Resolved latest Subsonic final version to: 4.6
[2012-04-15 10:13:17,151] INFO VersionService - Resolved latest Subsonic beta version to: 4.6.beta2
[2012-04-15 10:16:28,035] INFO PodcastService - Starting scheduled Podcast refresh.
[2012-04-15 10:16:28,035] INFO PodcastService - Completed scheduled Podcast refresh.
[2012-04-15 10:43:05,400] INFO PlaylistInputStream - parker listening to "Phish - 1998-04-03 - Nassau Coliseum - Uniondale, NY.mp3f\ph1998-04-03d2t01.mp3"
[2012-04-15 10:43:05,897] DEBUG AudioScrobblerService - Successfully registered now playing for song 'Roses Are Free->' for user parkerjh at Last.fm.
[2012-04-15 10:43:11,126] DEBUG AudioScrobblerService - Successfully registered submission for song 'Roses Are Free->' for user parkerjh at Last.fm.
[2012-04-15 10:45:13,518] INFO PlaylistInputStream - parker listening to "Phish - 1998-04-03 - Nassau Coliseum - Uniondale, NY.mp3f\ph1998-04-03d2t02.mp3"
[2012-04-15 10:45:13,993] DEBUG AudioScrobblerService - Successfully registered now playing for song 'Nassau Jam->' for user parkerjh at Last.fm.
[2012-04-15 10:45:34,861] DEBUG AudioScrobblerService - Successfully registered submission for song 'Nassau Jam->' for user parkerjh at Last.fm.
[2012-04-15 11:11:36,568] INFO NetworkService - Successfully forwarding port 8044.
[2012-04-15 12:11:40,800] INFO NetworkService - Successfully forwarding port 8044.
[2012-04-15 13:05:04,964] INFO PlaylistInputStream - parker listening to "1990 - Lawn Boy\01 - Phish - The Squirming Coil.flac"
[2012-04-15 13:05:04,966] DEBUG TranscodeInputStream - Starting transcoder: [c:\subsonic\transcode\ffmpeg] [-i] [L:\Phish\Studio\1990 - Lawn Boy\01 - Phish - The Squirming Coil.flac] [-ab] [128k] [-v] [0] [-f] [mp3] [-]
[2012-04-15 13:05:08,850] DEBUG AudioScrobblerService - Successfully registered now playing for song 'The Squirming Coil' for user parkerjh at Last.fm.
[2012-04-15 13:05:53,936] DEBUG AudioScrobblerService - Successfully registered submission for song 'The Squirming Coil' for user parkerjh at Last.fm.
[2012-04-15 13:11:45,001] INFO NetworkService - Successfully forwarding port 8044.


I hadn't had a problem for a year plus and now, all these issues lately. Thanks in advance for any help.

Re: Subsonic Keeps Shutting Down

PostPosted: Sun Apr 15, 2012 5:33 pm
by BKKKPewsey
Check your memory allocation while SS is running (via SS control panel).
You may be running short on memory - especially when indexing - try increasing to 256MB.

:mrgreen:

Re: Subsonic Keeps Shutting Down

PostPosted: Sun Apr 15, 2012 5:36 pm
by tmwsiy
ok, great. That could be the case. Just in normal operation, I was at 95Mb.

Seems to make sense as it is usually overnight that it crashes and that is when the index runs.

But why does the log keep getting deleted? Is that normal?

thanks very much for the help.

Re: Subsonic Keeps Shutting Down

PostPosted: Sun Apr 15, 2012 6:45 pm
by GJ51
Just a guess, but when SS crashes it probably doesn't close the logfile properly, so it just restarts a new one.

Re: Subsonic Keeps Shutting Down

PostPosted: Mon Apr 16, 2012 2:57 pm
by tmwsiy
GJ51 wrote:Just a guess, but when SS crashes it probably doesn't close the logfile properly, so it just restarts a new one.


Yeah, I assume that's the case too but seems counter-intuitive as when it crashes, that's most likely when you'd want a log. Too bad they couldn't be numbered sequentially.

Anyway, thanks BKKKPewsey, I think that did the trick. Didn't crash last night. Thanks again.

Re: Subsonic Keeps Shutting Down

PostPosted: Mon Apr 16, 2012 3:11 pm
by bushman4
In all cases Subsonic starts the log file anew when it is restarted. Every time the server is started it starts with a new log file and does not archive the old one.

So look at the log file BEFORE you restart the server to see what was happening when it stopped...

Glenn

Re: [solved] Subsonic Keeps Shutting Down

PostPosted: Sun Jun 03, 2012 11:32 pm
by tmwsiy
been six weeks, no crashes, increasing the memory limit did the trick.
maybe b/c my library is so large.