SOLVED: Tomcat using 100% of CPU.

Need help? Post your questions here.

Moderator: moderators

SOLVED: Tomcat using 100% of CPU.

Postby mgrant » Mon Mar 03, 2008 1:22 am

I recently installed subsonic 3.3. Since doing so the machine has seemed quite slow. I checked the resource monitor in Vista and found that the CPU is spiked at 100%. The offending process is tomcat6.exe. The files that are in use by tomcat are in the music collection (which is still being scanned 27 hours since I installed.)

How long should it take to scan in a collection of about 50K songs? The subsonic log contains a number of error logs like:

WARN EntaggedParser - Error when parsing tags in <some music file in my collection>

I believe that these files have no ID3 tags. But they are a small percentage of the overall collection.

I installed subsonic on my linux laptop and it was significantly faster to scan in the collection. What can I do on windows to fix/improve this?

EDIT: I uninstalled both subsonic and tomcat6. I then re-installed just subsonic and things seem to be working better.

EDIT2: I also found that the slow scanning seems to be due to corrupt mp3 files. I've identified a large number of files in my collection that have an mp3 extension and are a reasonable size (3+ MB) but contain only NULL characters. This seems to cause subsonic to "choke" on these for several minutes each. Once I removed these corrupt files the scan moved at a more reasonable pace. Sorry for the noise.

-mg
mgrant
 
Posts: 76
Joined: Mon Mar 03, 2008 1:15 am

Return to Help

Who is online

Users browsing this forum: No registered users and 30 guests