[Solved] subsonic-service.exe running at near 100% CPU
I am finding the subsonic-service.exe running at near 100% CPU under what normally should be a relatively low user load on the server. Although today there have been 105 users who have logged in to the server (there are now 850 players listed in total) there would only be around 10-20 listening at any one time. I recently had an extra CPU to the VM when I saw this happen the first time. As shown in the screenshot the "service CPU usage" graph shows it below 50% but CPU 0 and CPU 1 peaking at close to 100%. (RAM usage on the VM is at 1339MB with 683MB available). I wonder if this is anything to do with having 244 threads running?
I have seen much lower CPU usage when threads is at around 40 and there is a similar low amount of disk activity going on. For example on an identical test server with one CPU I have simultaneously streamed over 30 songs at once and the CPU barely hit 20%. However this was played all from the one computer.
Subsonic Version: 4.5 (build 2385)
Server Version: jetty-6.1.x, java 1.6.0_18, Windows Server 2008 R2 (200.3 MB / 247.5 MB)
Hardware Platform: (Running on a VM in our data centre) Windows Server 2008 R2 Enterprise, Processor Intel Xeon CPU X7550 @ 2.00Ghz (2 Processors) Installed memory (RAM): 2 GB
Java Memory Limit: 256MB
Last ten log file lines:
I have seen much lower CPU usage when threads is at around 40 and there is a similar low amount of disk activity going on. For example on an identical test server with one CPU I have simultaneously streamed over 30 songs at once and the CPU barely hit 20%. However this was played all from the one computer.
Subsonic Version: 4.5 (build 2385)
Server Version: jetty-6.1.x, java 1.6.0_18, Windows Server 2008 R2 (200.3 MB / 247.5 MB)
Hardware Platform: (Running on a VM in our data centre) Windows Server 2008 R2 Enterprise, Processor Intel Xeon CPU X7550 @ 2.00Ghz (2 Processors) Installed memory (RAM): 2 GB
Java Memory Limit: 256MB
Last ten log file lines:
- Code: Select all
[5/20/12 9:23:09 PM EST] INFO StreamController Got range: Range[714156,9223372036854775807]
[5/20/12 9:23:11 PM EST] INFO PlaylistInputStream user1 listening to "Week 05\19 Blue Yodel No. 8 (Mule Skinner Blues).mp3"
[5/20/12 9:23:25 PM EST] INFO StreamController Got range: Range[714156,9223372036854775807]
[5/20/12 9:23:28 PM EST] INFO PlaylistInputStream user1 listening to "Week 05\19 Blue Yodel No. 8 (Mule Skinner Blues).mp3"
[5/20/12 9:23:43 PM EST] INFO StreamController Got range: Range[714156,9223372036854775807]
[5/20/12 9:23:45 PM EST] INFO PlaylistInputStream user1 listening to "Week 05\25 Midnight Special.mp3"
[5/20/12 9:23:47 PM EST] INFO PlaylistInputStream user1 listening to "Week 05\19 Blue Yodel No. 8 (Mule Skinner Blues).mp3"
[5/20/12 9:23:48 PM EST] INFO PlaylistInputStream user2 listening to "Week 11\1-02 Don't Think Twice, It's All Right.mp3"
[5/20/12 9:23:50 PM EST] INFO PlaylistInputStream user1 listening to "Week 05\25 Midnight Special.mp3"
[5/20/12 9:23:56 PM EST] INFO PlaylistInputStream user3 listening to "Week 08\08 Jesu Meine Freude (So Aber Christus In Euch Ist).mp3"
[5/20/12 9:24:13 PM EST] INFO StreamController Got range: Range[3700108,9223372036854775807]