Server stuck @ 100% CPU - Android client related

Need help? Post your questions here.

Moderator: moderators

Server stuck @ 100% CPU - Android client related

Postby FreeMan » Fri Aug 06, 2010 12:25 am

Just discovered CPU utilization was maxed. I read through this thread http://forum.subsonic.org/forum/viewtopic.php?t=3771 thinking that was it, but it wasn't. A quick look at Process Explorer showed 2-3 lame threads running as children of the subsonic-service thread, one would run about 50%, the other(s) consuming another 50%.

When I first got the server set up, I created a user for my Android phone & limited it to 48kbs to reduce network usage (mostly spoken word, so sound quality isn't critical). It seems that didn't have any impact on things, because earlier today I noticed the setting in the Android client to down-sample. I set that at 48kbs, and that's when the phone call from home came in complaining that the machine was running slowly.

subsonic-service was spawning a constant stream of lame threads to re-encode the tracks to send to the phone. I changed settings on the phone to download only 5 tracks at a time (instead of unlimited), and eventually they stopped.

It would be great if the server would only submit one re-encode thread at a time, or submit them at a lower priority so the server can be used for other tasks as well.

Love the server, the Android client is just the icing on the cake!!
FreeMan
 
Posts: 25
Joined: Thu Jan 17, 2008 4:53 am

Return to Help

Who is online

Users browsing this forum: No registered users and 29 guests