Community Forums

Home » Vuze Forums » Community Open Support


Thread: How to fix 100% CPU usage?


Thread Locked This thread is locked - replies are not allowed.


This question is not answered. Helpful answers available: 3. Correct answers available: 1.

Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 15 - Pages: 1 - Last Post: Jan 5, 2009 8:16 PM Last Post By: Washii
smu911

Posts: 3
Registered: 01/01/09
How to fix 100% CPU usage?
Posted: Jan 1, 2009 9:40 AM
 
Click to report abuse...
Hi all,
Using Vuze 4.0.0.2. on XP SP2. App runs fine with minimal CPU usage, then suddenly usage goes to 100%. I've tried pausing then restarting DLs, but at this point App runs very slow and seldom responds. After a certain time my machine actually hangs. Needless to say it's really frustrating.

Can someone tell me (in steps please) how to diagnose and possibly fix this issue.

Many thanks
mmore1q3


Posts: 6,194
Registered: 12/02/07
Re: How to fix 100% CPU usage?
Posted: Jan 1, 2009 9:52 AM   in response to: smu911 in response to: smu911
 
Click to report abuse...
Same answer than to your other thread:

First, you should upgrade to 4.0.0.4, as that was mainly bug fixes.

Secondly, after that 100% CPU utilization happens next time, you should generate a debug info report (from the Help menu), and then attach that generated debug.zip file to a message here. That should contain all the logs, which might enable others to diagnose the symptoms.
Washii

Posts: 5,261
Registered: 11/14/07
Re: How to fix 100% CPU usage?
Posted: Jan 1, 2009 7:07 PM   in response to: smu911 in response to: smu911
 
Click to report abuse...
Does your processor have multiple cores? If so, you should try setting the Process Affinity in the Task Manager to a single CPU (uncheck all but one).

Do this in Task Manager, Processes tab, right-click on Azureus.exe, select 'Set Affinity.' If this helps, you will need to get Prio to save the Affinity and Priority between starts of the program (The Windows XP scheduler won't remember on its own).
Den Daffn

Posts: 11
Registered: 01/02/09
Re: How to fix 100% CPU usage?
Posted: Jan 2, 2009 5:08 PM   in response to: Washii in response to: Washii
 
Click to report abuse...
Washii,

I wonder, why doesn't Vuze support multiple cores? Azureus did (It did in my case) and never got any problems with it. Now standard pc's have multiple cores all the programs seem to lag behind and get stuck ...

Shouldn't multiple cores be better for programs? Or are pipelines better?

Edited by: Den Daffn on 2-jan-2009 17:09
Washii

Posts: 5,261
Registered: 11/14/07
Re: How to fix 100% CPU usage?
Posted: Jan 2, 2009 5:13 PM   in response to: Den Daffn in response to: Den Daffn
 
Click to report abuse...
It tends to be more of a problem with Java. It's underlying threading routines get a little stuck on Windows under somewhat heavy load. From what I've heard, it isn't as much of a problem on other operating systems.

Edited by: Washii on Jan 2, 2009 5:19 PM
A lot of other programs have issues because their instructions weren't meant to be split across several cores, which is what some schedulers will do regardless of the program having 1 or 2 threads on 4 or more cores.
parg

Posts: 2,698
Registered: 11/13/07
Re: How to fix 100% CPU usage?
Posted: Jan 2, 2009 5:17 PM   in response to: Washii in response to: Washii
 
Click to report abuse...
The debug logs will be useful - 100% CPU is usually caused by either Vuze running out of memory (at which point Java expends more and more resources trying to garbage collect to make memory available) or a bug - often within Vuze whereby we can fix it (and the debug logs help here) or sometimes in components it uses (such as embedded browsers, Internet Explorer on Windows)
kyl09

Posts: 3
Registered: 01/04/09
Re: How to fix 100% CPU usage?
Posted: Jan 4, 2009 1:24 PM   in response to: smu911 in response to: smu911
 
Click to report abuse...
Hi,

Vuze ate up my CPU and I am now left with few Kb of disk space. I have deleted all files but it still won't return my space. This is the second PC with this problem, I wouldn't have used the second if I knew the problem was with Vuze. Please how do I fix this? I have attached the log. And I am not a techie, will appreciate all the help I could get. Thanks.
justanotheruser

Posts: 2,188
Registered: 10/19/08
Re: How to fix 100% CPU usage?
Posted: Jan 4, 2009 1:30 PM   in response to: kyl09 in response to: kyl09
 
Click to report abuse...
Maxing out the CPU doesn't consume disk space. Try emptying your recycle bin and looking for where the space is being consumed.
kyl09

Posts: 3
Registered: 01/04/09
Re: How to fix 100% CPU usage?
Posted: Jan 4, 2009 2:00 PM   in response to: justanotheruser in response to: justanotheruser
 
Click to report abuse...
Thanks, but how do you "max out" the CPU? I have also emptied the recycle bin and search for any hidden files but it appears the memory just got "eaten up" somehow. Thanks for your help.
mmore1q3


Posts: 6,194
Registered: 12/02/07
Re: How to fix 100% CPU usage?
Posted: Jan 4, 2009 2:12 PM   in response to: kyl09 in response to: kyl09
 
Click to report abuse...
Like justanotheruser tried to exaplain to you, you are mixing things up.

Consuming CPU cycles (100% utilization, maxing out CPU) is momentarily processor utilization, not permanent usage of disk space by files.

You are talking about disk space, which is completely different thing than this thread's topic...
kyl09

Posts: 3
Registered: 01/04/09
Re: How to fix 100% CPU usage?
Posted: Jan 4, 2009 2:17 PM   in response to: mmore1q3 in response to: mmore1q3
 
Click to report abuse...
Thanks, my problem is with usage of disk space. Do you know of any useful thread? Thanks for your help.
mmore1q3


Posts: 6,194
Registered: 12/02/07
Re: How to fix 100% CPU usage?
Posted: Jan 4, 2009 2:22 PM   in response to: kyl09 in response to: kyl09
 
Click to report abuse...
Nope, you need to find out by yourself, which new(?) files consume your disk space. Maybe you just have too small disk.
justanotheruser

Posts: 2,188
Registered: 10/19/08
Re: How to fix 100% CPU usage?
Posted: Jan 4, 2009 3:41 PM   in response to: kyl09 in response to: kyl09
 
Click to report abuse...
Take a look at my response in this thread.
Washii

Posts: 5,261
Registered: 11/14/07
Re: How to fix 100% CPU usage?
Posted: Jan 4, 2009 4:44 PM   in response to: justanotheruser in response to: justanotheruser
 
Click to report abuse...
I second the use of WinDirStat in the linked post. I use it myself when analyzing hard drives as a tech.
TrudieMac

Posts: 1
Registered: 01/06/09
Re: How to fix 100% CPU usage?
Posted: Jan 5, 2009 7:44 PM   in response to: Washii in response to: Washii
 
Click to report abuse...
Do you need prio for vista too? Have new quad core machine, vuze keeps hanging my system. tried setting the affinity and it changes back every restart. not a tech myself. Does prio explain how to save affinity? Is it safe? beginning to think we need to uninstall vuze to get rid of the problem.
Washii

Posts: 5,261
Registered: 11/14/07
Re: How to fix 100% CPU usage?
Posted: Jan 5, 2009 8:16 PM   in response to: TrudieMac in response to: TrudieMac
 
Click to report abuse...
I use Prio on all my machines. And, yes, you likely need it on Vista as well.

You set the affinity, Prio saves it by default when installed. Voila.
Legend
Master: 800 - 9999 pts
Expert: 400 - 799 pts
Advanced: 200 - 399 pts
Intermediate: 100 - 199 pts
Beginner: 50 - 99 pts
Newbie: 0 - 49 pts
Vuze Staff Member
Vuze Community Moderator
Helpful Answer (3 pts)
Correct Answer (5 pts)

Point your RSS reader here for a feed of the latest messages in all forums