PDA

View Full Version : LW 4.14.5 CPU usage is between 5-98%


hopalong
August 13th, 2007, 05:09 PM
after I browsed a host with ~10000 files AND I am in the search tab, the search result, download window - in practice I can't work here, because the cpu jumps to 100% if I do anything.
In other tabs the cpu usage is not so high, but higher as usual.
Maybe there's not enough memory? LW's virtual memory is 193M, the free memory is 189M.
I had no such problem with previous versions, this is the second case with 4.14.5.
I attached a stack trace with org.limewire.rudp.UDPConnectionProcessor and org.limewire.rudp.UDPMultiplexor set to ALL, but there's no console log.
I leave the program in this state for a time, to be able to make another trace.
EDIT:
I forgot to attach.

zab
August 13th, 2007, 05:26 PM
When you say previous versions, do you mean only 4.12s or other 4.14s as well?

zab
August 13th, 2007, 05:34 PM
Also, since you're not firewalled we'll need a org.limewire.nio.* log.

hopalong
August 13th, 2007, 05:35 PM
When you say previous versions, do you mean only 4.12s or other 4.14s as well?

I mean all versions down from 4.14.4. It's rare thing that I can browse a host with so many files, but it occurs more the once in a week.

hopalong
August 13th, 2007, 05:43 PM
Also, since you're not firewalled we'll need a org.limewire.nio.* log.

I am firewalled, ZoneAlarm Pro, router port forwarded, and no brickwall.

Edit:
I mean I have firewall, but no brickwall.

Edit:
I was only for a little time in the search tab

CamTheCat
August 13th, 2007, 06:13 PM
Also, since you're not firewalled we'll need a org.limewire.nio.* log.


In this comment by SAM (http://www.limewire.org/forum/showpost.php?p=6968&postcount=48) it was requested that if we are having memory hogging problems, we should submit a log for two other items.

Now, I've reset my router to UPnP instead of manual port forward, and I've disabled my windows firewall. I think I'm going to get zonealarm, but for the time being I'm relying on my antivirus program (avast) and a couple of other things to protect my PC.

There is no more brick wall, and I'm monitoring the program for the two items requested at the link above.

Last night, prior to making my UPnP/firewall adjustments, I had limewire running and after about an hour it suddenly began using 80 to 99% of my cpu/memory. Silly me - I didn't have the monitoring set to ALL for the items, and after it started acting buggy I was unable to change it and save a log file.

Anyways, I've gotten rid of the brick wall. I will see if the program continue sto do the memory hogging trick, and if so, I will send the logs (the two at the link above, and then the one you requested here if it happens again) to your email zab.

---

EDIT TO ADD: FYI, I think I'll skip on Zone Alarm. Also, thanks goes out to the techs who helped me trouble shoot my problem!

Sam
August 13th, 2007, 07:44 PM
We have good leads on the CPU problem.

hopalong
August 13th, 2007, 07:55 PM
I successfully stopped the high cpu usage - as in the first case - by closing the search tab (browse host).

zab
August 13th, 2007, 07:58 PM
In the specific case of browse host it doesn't look like a bug. How quickly were the results loading? If they arrive too fast there's bound to be a lot of cpu used. Try without a hostiles.txt file...

hopalong
August 13th, 2007, 08:30 PM
In the specific case of browse host it doesn't look like a bug. How quickly were the results loading? If they arrive too fast there's bound to be a lot of cpu used. Try without a hostiles.txt file...

It was not too fast, rather slow. But I don't speak about the cpu usage during load - it was after the loading. And only ONE host - what does LW do with hostiles.txt in this case ? I hope not much.

zab
August 13th, 2007, 08:56 PM
It was not too fast, rather slow. But I don't speak about the cpu usage during load - it was after the loading. And only ONE host - what does LW do with hostiles.txt in this case ? I hope not much.

If the host sends alternate locations with each result, we need to filter those.

hopalong
August 13th, 2007, 09:09 PM
But there were no multiple hosts in the lines of the browse host.
I'm sorry, but I don't understand, what have LW to do with the host, after finished the browse. If I don't do anything, even then there is high CPU, if LW stays in the search tab. For example in the console tab there is much less cpu usage. And the cpu jumps to 100% even if I move only the scroll bar up/down, and don't change the selected line.

zab
August 13th, 2007, 09:13 PM
oh. that changes things. We'll have to do some profiling to figure out why. Get on aim and lets coordinate it just like in the "good old days" :)

hopalong
August 13th, 2007, 09:17 PM
OK, but only tomorrow, it is too late now. And the problem is, that I can't easily reproduce, because it's hard to find for me a host with so many files.