[solved] Subsonic Keeps Shutting Down

Need help? Post your questions here.

Moderator: moderators

[solved] Subsonic Keeps Shutting Down

Postby tmwsiy » Sun Apr 15, 2012 5:18 pm

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.
Last edited by tmwsiy on Sun Jun 03, 2012 11:31 pm, edited 1 time in total.
tmwsiy
 
Posts: 189
Joined: Tue Apr 06, 2010 6:26 pm

Re: Subsonic Keeps Shutting Down

Postby BKKKPewsey » Sun Apr 15, 2012 5:33 pm

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:
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 Keeps Shutting Down

Postby tmwsiy » Sun Apr 15, 2012 5:36 pm

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.
tmwsiy
 
Posts: 189
Joined: Tue Apr 06, 2010 6:26 pm

Re: Subsonic Keeps Shutting Down

Postby GJ51 » Sun Apr 15, 2012 6:45 pm

Just a guess, but when SS crashes it probably doesn't close the logfile properly, so it just restarts a new one.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: Subsonic Keeps Shutting Down

Postby tmwsiy » Mon Apr 16, 2012 2:57 pm

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.
tmwsiy
 
Posts: 189
Joined: Tue Apr 06, 2010 6:26 pm

Re: Subsonic Keeps Shutting Down

Postby bushman4 » Mon Apr 16, 2012 3:11 pm

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
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 875
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Re: [solved] Subsonic Keeps Shutting Down

Postby tmwsiy » Sun Jun 03, 2012 11:32 pm

been six weeks, no crashes, increasing the memory limit did the trick.
maybe b/c my library is so large.
tmwsiy
 
Posts: 189
Joined: Tue Apr 06, 2010 6:26 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 21 guests