Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > LimeWire+WireShare (Cross-platform) > Technical Support > General Linux Support
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

General Linux Support For questions regarding use of LimeWire or WireShare or related questions on the Linux operating system. This includes installation questions and answers. (Check the Stickies marked in Red at top of this section.)


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old May 31st, 2008
Novicius
 
Join Date: May 15th, 2008
Posts: 2
nanohead is flying high
Default Massive CPU utilization on Ubuntu

I've had various version of LW on Ubunutu for the past few years, and very frequently, CPU utilization spikes and stays there. In the system monitor utility, its Java thats consuming all the CPU (limewire is frequently shown as sleeping ??).

This behavior has been consistent through the past 5 or so versions of all these pieces of software. Sometimes, I just launch LW, and its doing nothing, and it just starts slamming the CPU. Even more painful, is on the dual core I run now, the linux scheduler gets into the game and the round robin CPU utilization makes the system nearly hang as workload is swapped from one core to another. Its been happening for years, and each time I upgade, I hope it won't happen again. But alas....


I'm currently running Hardy (8.04), with Java 1.6.06. and LW 4.17.9 pro.
Reply With Quote
  #2 (permalink)  
Old January 26th, 2009
Disciple
 
Join Date: June 14th, 2007
Posts: 12
Curmudgeon is flying high
Default infinite loop(?) in LimeWire 4.18.8 running on Ubuntu 8.1.0

I see a similar problem. I'm running LimeWire 4.18.8 on Ubuntu 8.1.0 with Java 1.6.0_10. Whenever I try to browse a host with a large number of files, LimeWire seems to go into an infinite loop -- it hangs, and the "top" command shows Java sucking up 80%-90% of CPU.

--Curmudgeon
Reply With Quote
  #3 (permalink)  
Old January 26th, 2009
Lord of the Rings's Avatar
ContraBanned
 
Join Date: June 30th, 2004
Location: Middle of the ocean apparently (middle earth)
Posts: 664
Lord of the Rings has a distinguished reputationLord of the Rings has a distinguished reputationLord of the Rings has a distinguished reputation
Default

Out of curiosity, is it possible to drop your Java version back slightly. I've heard of problems with Java 6 (1.6). Just my six cents worth, sorry I am not a Linux user.
Reply With Quote
  #4 (permalink)  
Old May 19th, 2009
Disciple
 
Join Date: June 14th, 2007
Posts: 12
Curmudgeon is flying high
Default possibly a garbage collection issue

I've been having this problem as well (it happens when I try to browse a host with a large number of files), and I think I've tracked it down to a memory allocation issue. What seems to be happening is that the default initial heap allocation for limewire is too small, causing the system to go into a frenzy of garbage collection when the number of files is too big, which causes the spike in CPU load that you see.

What I did to fix this (as best as possible) was to change the invocation line towards the end of the "runLime.sh" script to the following, which explicitly specifies larger heap allocations:
${JAVA_PROGRAM_DIR}java -ea -Xms1024m -Xmx1700m .....
The first value (-Xms...) specifies the heap allocation at startup; the second (-Xmx...) specifies the maximum heap allocation. You may have to play with these numbers to find ones that work well for you.


Quote:
Originally Posted by nanohead View Post
I've had various version of LW on Ubunutu for the past few years, and very frequently, CPU utilization spikes and stays there. In the system monitor utility, its Java thats consuming all the CPU (limewire is frequently shown as sleeping ??).

This behavior has been consistent through the past 5 or so versions of all these pieces of software. Sometimes, I just launch LW, and its doing nothing, and it just starts slamming the CPU. Even more painful, is on the dual core I run now, the linux scheduler gets into the game and the round robin CPU utilization makes the system nearly hang as workload is swapped from one core to another. Its been happening for years, and each time I upgade, I hope it won't happen again. But alas....


I'm currently running Hardy (8.04), with Java 1.6.06. and LW 4.17.9 pro.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 03:17 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.