Bug 183461 - Azureus using excessive memory and CPU
Summary: Azureus using excessive memory and CPU
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: java-1.4.2-gcj-compat
Version: rawhide
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Thomas Fitzsimmons
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-03-01 10:15 UTC by Garry Harthill
Modified: 2007-11-30 22:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-07-26 18:04:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Classes loaded as bytecode (18.19 KB, text/plain)
2006-03-01 10:15 UTC, Garry Harthill
no flags Details

Description Garry Harthill 2006-03-01 10:15:07 UTC
Description of problem:
top - 14:24:28 up 5 days,  3:41,  5 users,  load average: 3.78, 3.61, 3.27
Tasks: 117 total,   1 running, 116 sleeping,   0 stopped,   0 zombie
Cpu(s): 57.0% us, 10.3% sy,  0.0% ni, 31.1% id,  1.3% wa,  0.3% hi,  0.0% si
Mem:   1027288k total,  1002144k used,    25144k free,    39564k buffers
Swap:  1020116k total,      940k used,  1019176k free,   405756k cached

 PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
13132 garry     15   0  966m 213m  37m S 50.6 21.3 227:27.00 gij

213m and 50% CPU seems a bit excessive

Version-Release number of selected component (if applicable):
azureus-2.4.0.0-0.20060209cvs_1.fc5
glib-java-0.2.3-1.2
cairo-java-1.0.2-0.2
libgconf-java-2.12.1-2.2
libgtk-java-2.8.3-1.2
java-1.4.2-gcj-compat-1.4.2.0-40jpp_80rh

How reproducible:
CPU and memory amounts vary but it's always high.

Comment 1 Garry Harthill 2006-03-01 10:15:08 UTC
Created attachment 125459 [details]
Classes loaded as bytecode

Comment 2 Thomas Fitzsimmons 2006-03-01 16:41:12 UTC
Yes, BouncyCastle and Jessie are not natively compiled.  I'll try to get them
natively compiled before FC5 ships.


Comment 3 Anthony Green 2006-03-01 18:41:48 UTC
(In reply to comment #0)
> CPU and memory amounts vary but it's always high.

I think the memory usage is pretty much par for the course.  What makes you
think it's higher than it should be.

I'm curious about the CPU usage though.  This is 32-bit?  Tell me a little about
your hardware and what specifically was azureus doing when you noticed a
sustained 50% CPU utilization.

Thanks,

AG


Comment 4 Garry Harthill 2006-03-02 12:48:44 UTC
(In reply to comment #3)
> I think the memory usage is pretty much par for the course.  What makes you
> think it's higher than it should be.

When Azureus starts it uses minimal amounts of memory. Over time it increases
until nearly all my memory is used by gij process. Even when all torents are
removed and Azureus is just sitting there it doesn't release the memory back.

> I'm curious about the CPU usage though.  This is 32-bit?  Tell me a little about
> your hardware and what specifically was azureus doing when you noticed a
> sustained 50% CPU utilization.

After running azureus a few times I have noticed CPU utilization is acceptable
and I cannot reproduce this sustained high percentage.

Before it was running for a couple of days. I will leave it running for this
period again and see if CPU becomes an issue.


Comment 5 Thomas Fitzsimmons 2006-03-02 16:34:08 UTC
OK, but first please update to:

java-1.4.2-gcj-compat-1.4.2.0-40jpp_82rh
jessie-1.0.1-3

which contain native versions of BouncyCastle and Jessie, two jars critical to
Azureus's operation.


Comment 6 Thomas Fitzsimmons 2006-03-03 23:02:38 UTC
Have you tried these new packages yet with a long-running Azureus process yet?



Note You need to log in before you can comment on or make changes to this bug.