Win7 Subsonic server switches off! please help!

Need help? Post your questions here.

Moderator: moderators

Win7 Subsonic server switches off! please help!

Postby russcasey » Thu Jul 07, 2011 11:46 am

Hi. I'm new here. I've been trialling subsonic recently as I'm getting a Chromebook soon. I'm really impressed and love it, but seem to have a weird problem that is crashing out Windows 7....

<-------------------------Subsonic Help Request---------------------->
Problem Description:
Subsonic is installed on a Win 7 machine, and I'm streaming music using the web app.
After about 30mins the Win7 machine will shut down unexpectedly. This does not happen when not using SubSonic.


Troubleshooting Steps:
None, other than not streaming avoids the problem.

Playback Application and version:
Web client

Subsonic Version: Version 4.4 (build 2172) – February 6, 2011
Server Version: jetty-6.1.x, java 1.6.0_18, Windows 7 (38.2 MB / 49.4 MB)

Hardware Platform: Windows 7 Pro, SP1

Java Memory Limit: 100Mb
Problem Filename: N/a
Output from ffmpeg -i:
Code: Select all
ffmpeg version N-31031-gf211d9d, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jun 26 2011 22:50:39 with gcc 4.5.3
  configuration: --enable-gpl --enable-version3 --enable-memalign-hack --enable-
runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libo
pencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --
enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger
--enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enabl
e-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil    51. 10. 0 / 51. 10. 0
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  4. 0 / 53.  4. 0
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 24. 0 /  2. 24. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0



Last ten log file lines:
Log file is blank when system restarts.

<-------------------------Subsonic Help Request---------------------->
russcasey
 
Posts: 15
Joined: Thu Jul 07, 2011 11:39 am

Postby GJ51 » Thu Jul 07, 2011 1:03 pm

Does the host PC "Shut Down" or is it just going to Sleep mode?
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

Postby Qbix » Thu Jul 07, 2011 1:22 pm

Strange...what does the event viewer in Windows shows you?
Cheers,
Image
------------------
14.985 artiesten
10.798 albums
90.526 nummers
822,06 GB (~ 12.770 uur)
------------------------------
Qbix
 
Posts: 97
Joined: Thu Jun 30, 2011 1:36 pm
Location: Netherlands

Postby GJ51 » Thu Jul 07, 2011 1:55 pm

Not strange at all really, on Windows desktop you have to go into the advanced power setting and make sure that media streaming prevents the computer from going into sleep mode. that's why I asked if the system was actually shutting down as opposed to going to sleep. Spontaneous shutdowns are usually related to heat issues, going into sleep mode is usually just a matter of verifying the settings.
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

Postby Qbix » Thu Jul 07, 2011 2:01 pm

True...I just supposed that he was talking about a real shutdown.
If it's only a sleep-mode you're right of course, he should check his power settings.
Cheers,
Image
------------------
14.985 artiesten
10.798 albums
90.526 nummers
822,06 GB (~ 12.770 uur)
------------------------------
Qbix
 
Posts: 97
Joined: Thu Jun 30, 2011 1:36 pm
Location: Netherlands

Postby russcasey » Thu Jul 07, 2011 2:34 pm

Thanks for the comments guys - I know this is a weird one as not much can crash Win7 in this way.

The machine is my HTPC and I'm familiar with the power management controls. This is like someone pulled the power cord out. When I switch it back on again, I get the 'Windows did not shut down normally' message.

Windows Event log doesn't show anything indicative of a problem, neither does subsonic log - I set the subsonic service to manual start so it doesn't wipe the logs on startup, but there is nothing but playback records. Last 3 entries are:

Code: Select all
[2011-07-07 14:35:24,126] INFO PlaylistInputStream - admin listening to "Let Them Talk\01 - St. James Infirmary.mp3"
[2011-07-07 14:41:49,555] INFO PlaylistInputStream - admin listening to "Let Them Talk\02 - You Don't Know My Mind.mp3"
[2011-07-07 14:45:28,968] INFO PlaylistInputStream - admin listening to "Let Them Talk\03 - Six Cold Feet.mp3"



It isn't heat either. Fans kick in automatically if the temp gets too high, and this isn't happening.
russcasey
 
Posts: 15
Joined: Thu Jul 07, 2011 11:39 am

Postby Qbix » Thu Jul 07, 2011 3:48 pm

You're saying that it doesn't happen when you don't use Subsonic..hmm...maybe you can try to let the Subsonic service run with a different account (ex. local admin) or something.

Maybe you can run Malwarebytes to be sure nothing is activated as soon as you start streaming.
Cheers,
Image
------------------
14.985 artiesten
10.798 albums
90.526 nummers
822,06 GB (~ 12.770 uur)
------------------------------
Qbix
 
Posts: 97
Joined: Thu Jun 30, 2011 1:36 pm
Location: Netherlands

Postby russcasey » Thu Jul 07, 2011 4:06 pm

Qbix wrote:You're saying that it doesn't happen when you don't use Subsonic..hmm...maybe you can try to let the Subsonic service run with a different account (ex. local admin) or something.

Maybe you can run Malwarebytes to be sure nothing is activated as soon as you start streaming.


Good ideas both.
I've updated the subsonic service to use a regular user account rather than local system, and am running a malwarebytes full scan right now. The system was protected with MS Security Essentials, but I agree malware would explain the symptoms.
russcasey
 
Posts: 15
Joined: Thu Jul 07, 2011 11:39 am

Postby Qbix » Thu Jul 07, 2011 4:35 pm

Please let me know the outcome..
Cheers,
Image
------------------
14.985 artiesten
10.798 albums
90.526 nummers
822,06 GB (~ 12.770 uur)
------------------------------
Qbix
 
Posts: 97
Joined: Thu Jun 30, 2011 1:36 pm
Location: Netherlands

Postby GJ51 » Thu Jul 07, 2011 5:10 pm

Just another 2 cents: My HTPC has had occasional unexplained shutdowns as well. I haven't had time to fully investigate yet, but I was thinking it may be related to WMC.

There's always another mystery to solve. :wink:
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

Postby russcasey » Sun Jul 10, 2011 3:54 pm

Wasn't malware.
Hasn't happened for the last few days, while I haven't been using SubSonic.
Any more ideas gratefully received!
russcasey
 
Posts: 15
Joined: Thu Jul 07, 2011 11:39 am

Postby russcasey » Sun Jul 10, 2011 4:24 pm

russcasey wrote:Wasn't malware.
Hasn't happened for the last few days, while I haven't been using SubSonic.
Any more ideas gratefully received!


Started streaming to my new Chromebook just after that last post. My HTPC powered off without warning about 5 mins ago.

Dunno if it could be related to using Chrome as the browser doing the streaming?
russcasey
 
Posts: 15
Joined: Thu Jul 07, 2011 11:39 am

Postby GJ51 » Sun Jul 10, 2011 5:05 pm

Not likely, I'd look at you bios settings for PC health CPI shutdown temperature and get a util like speedfan to see if it's a heat related issue. Summertime can be tough when you start media streaming and the cpul oad starts to generate some heat, especially on an HTPC that usually has less than ideal cooling due to space design.

That would be where I would look first. If your temps are good, you might think about running some diagnostics on the memory chips. Memtest86 usually does a pretty good job there.

We built a workstation a while back that wouldn't go into and come out of sleep mode properly. Drove us crazy trying to figure out what was wrong until we loaded the memory chips one at a time until we isolated a deffective stick of ram. RMA'd the bad stick, popped in the replacement and the PC has been flawless ever since.
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

Postby russcasey » Mon Jul 11, 2011 10:41 am

GJ51 wrote:Not likely, I'd look at you bios settings for PC health CPI shutdown temperature and get a util like speedfan to see if it's a heat related issue. Summertime can be tough when you start media streaming and the cpul oad starts to generate some heat, especially on an HTPC that usually has less than ideal cooling due to space design.

That would be where I would look first. If your temps are good, you might think about running some diagnostics on the memory chips. Memtest86 usually does a pretty good job there.

We built a workstation a while back that wouldn't go into and come out of sleep mode properly. Drove us crazy trying to figure out what was wrong until we loaded the memory chips one at a time until we isolated a deffective stick of ram. RMA'd the bad stick, popped in the replacement and the PC has been flawless ever since.


Temps are fine. The HTPC is in a huge aluminium case with fans that kick in at the first sign of overheating. It is in a well ventilated location. There are no issues recorded in the temperature monitoring. It has performed just fine for other tasks in hotter situations.

Not a sleep issue either - it isn't sleeping, it is shutting down unexpectedly. Subsonic streaming is the only common factor I've found so far. Issue occurs when the box is idle other than streaming to 1 client.
russcasey
 
Posts: 15
Joined: Thu Jul 07, 2011 11:39 am

Postby GJ51 » Mon Jul 11, 2011 2:25 pm

http://www.techrepublic.com/blog/window ... ag=nl.e064

"Java Memory Limit: 100Mb"

Raise the memory allocation to 256.
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

Next

Return to Help

Who is online

Users browsing this forum: No registered users and 39 guests