Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   New Phex Users (https://www.gnutellaforums.com/new-phex-users/)
-   -   Intensive disk accessing and CPU use? (https://www.gnutellaforums.com/new-phex-users/66860-intensive-disk-accessing-cpu-use.html)

HippoMan February 4th, 2007 05:45 AM

Intensive disk accessing and CPU use?
 
I recently started using Phex 3.0.0.99 under Linux. Searches, downloads, uploads, sharing, etc. are all working, but I have noticed that even when it's not doing any of these things, it eventually starts eating up a huge amount of CPU time and the disk is grinding away intensively.

After a while (usually 15-30 minutes), I can't even exit from Phex: I select Exit from the menu, and then the IDE hangs with the disk grinding and the CPU spinning away. I eventually (after a few minutes) have to kill the java process externally.

Also, I noticed that when searches are going on, the keyboard and mouse are quite unresponsive. I can click on an item in the Search window, and it sometimes doesn't get highlighted for 5-10 seconds ... and if more entries come into this window during that interval, sometimes the wrong item gets highlighted. It seems like the keyboard- and mouse-event threads are not getting enough resources when searches are taking place.

This slowness also occurs occasionally during downloads when no searches are going on, and at the same time of this sluggishness, the disk is grinding away intensively.

Can anyone shed any light on this?

Thanks.

By the way ...

Code:

% java -version
java version "1.5.0_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
Java HotSpot(TM) Client VM (build 1.5.0_08-b03, mixed mode, sharing)]
% uname -rsvp
Linux 2.6.17-10-generic #2 SMP Tue Dec 5 22:28:26 UTC 2006 unknown


arne_bab February 5th, 2007 12:58 AM

Thanks for informing us.

This sounds like a memory leak, but it shouldn't be... there was one in 2.8.10, but it's fixed in 3.0.0...

It might be, that your I/O-load gets quite high.
Could you let it run for some time and then do a "top" and post how much or your CPU is "waiting"?

How many files are you sharing?
Could you check if it also happens, when you share nothing?

And how much RAM do you have?

How much cache?

Best wishes,
Arne

HippoMan February 5th, 2007 01:58 PM

Thank you. I'll be happy to post all those stats. Unfortunately, now that I'm trying to repeat the condition, it isn't happening. But I'm sure it will some time soon, and I'll post back again with this info, once it does.

I do recall, however, that when this was occurring before, the rest of my system was not overloaded, and other apps started and ran without any problem ... including X apps. It was only the Phex app which was sluggish.

Therefore, my sense is that it has to do with threads being starved rather than memory/CPU being overloaded, but that's only a guess.

I'll be back once I have more data.

arne_bab February 5th, 2007 03:53 PM

Just post them once you have them.

I'll get notified by mail :)

Thanks for your testing!


All times are GMT -7. The time now is 06:21 AM.

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

Copyright © 2020 Gnutella Forums.
All Rights Reserved.