Bug 2585 - Sox causing 95+% cpu usage
: Sox causing 95+% cpu usage
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Misc
: 6.2.1
: PC Windows XP
: P1 critical (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-11-17 05:49 UTC by Ben McCall
Modified: 2008-09-15 14:38 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben McCall 2005-11-17 05:49:27 UTC
In bug report 1665, I reported "Each time when sox.exe is loaded and 
I try to change play lists, browse music, go to internet radio, etc, sox 
utilizes 90+ % of the cpu for a period of 45 - 90 second. During this time I 
cannot accomplish any thing else and the squeezebox will usually lose contact 
with the server." This was combined with 1401 as a duplicate, It was reported corrected in slimserver 6.2. As of today in 6.2.1, When I stop the player, clear the playlist or skip from the slimserver url there is a 45 sec 95% usage of cpu by sox.exe and the squeezebox1 loses connection with the server. Obviously this has not been corrected on windows xp.

Please help!

Ben McCall
Comment 1 Blackketter Dean 2005-11-21 10:21:17 UTC
Dan: didn't we update the version of sox to address this issue?
Comment 2 Dan Sully 2005-11-21 11:35:19 UTC
I don't think we got it compiled for Win32
Comment 3 Dan Sully 2006-01-19 11:46:02 UTC
Fixed in change 5707.

Will be in the 2006-01-20 nightly.

Sorry for the dealy - had some compiling issues on Windows.
Comment 4 Ben McCall 2006-01-21 14:45:12 UTC
I downloaded the nightly this AM and booted it. The CPU usuage is shorter (25 - 30 sec) but is still long enough that the squeezebox loses contact with the server. The problem is better but far from solved.

Thanks!

Ben
Comment 5 Ben McCall 2006-01-21 14:45:56 UTC
I downloaded the nightly this AM and booted it. The CPU usuage is shorter (25 - 30 sec) but is still long enough that the squeezebox loses contact with the server. The problem is better but far from solved.

Thanks!

Ben
Comment 6 Dan Sully 2006-01-25 17:14:09 UTC
Ben - do you listen to any Ogg radio? Or is it strictly off disk?
Comment 7 Ben McCall 2006-01-26 03:37:42 UTC
I listen mostly to files from my computer. I listen to ogg radio but select radio stations with classical and jazz music because of their lack of talking and not because the music is in ogg.

Thanks!

Ben
Comment 8 Ben McCall 2006-03-26 16:58:15 UTC
I haven't seen any activity on this in the last two months. Are you making any progress?

Thanks!

Ben
Comment 9 Dan Sully 2006-03-26 16:59:13 UTC
Unfortunately the binary that I'm able to build on Windows doesn't work correctly.

I'll try to hit this again in the coming weeks.
Comment 10 Dan Sully 2006-04-06 17:11:15 UTC
Ben - I've finally got this fixed & tested.

Change 6848

It will be in the 2006-04-07 nightly for both 6.2.2 and 6.5

Alternatively, you can download just the sox.exe file from:

http://svn.slimdevices.com/*checkout*/trunk/server/Bin/MSWin32-x86-multi-thread/sox.exe?rev=6848
Comment 11 Ben McCall 2006-04-07 04:57:54 UTC
I downloaded sox.exe last night and it worked perfectly.

Thanks!!

Ben