aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: aMule cannot start - high CPU usage  (Read 3451 times)

Catoblepa

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
aMule cannot start - high CPU usage
« on: July 30, 2008, 09:41:09 AM »

Hello!

I've managed to compile and install aMule 2.2.1 from source on my Fedora 9 x86_64. I've followed the compilation instructions listed on this page: http://www.amule.org/wiki/index.php/HowTo_Compile_In_RedHat-Fedora.
The compilation was fine, except for a couple of failed Crypto++ tests.

The problem is: every time I try to execute aMule, it can't start. The aMule process actually starts (taking very high CPU usage), but nothing happens, until I kill it.
If I execute aMule from terminal, I get this output:

Initialising aMule
Checking if there is an instance already running...
No other instances are running.
HTTP download thread started
Host: amule.sourceforge.net:80
URL: http://amule.sourceforge.net/lastversion
Response: 0 (Error: 1)
WARNING: Void response on stream creation
HTTP download thread ended

I've tried to let the process run for some minutes, but nothing else happens...
« Last Edit: July 30, 2008, 09:42:56 AM by Catoblepa »
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: aMule cannot start - high CPU usage
« Reply #1 on: July 30, 2008, 10:37:42 AM »

Quote
The compilation was fine, except for a couple of failed Crypto++ tests.
Please disable optimization for crypto++ until the test are passed and recompile.
Logged

Catoblepa

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: aMule cannot start - high CPU usage
« Reply #2 on: July 31, 2008, 10:02:42 AM »

Quote
The compilation was fine, except for a couple of failed Crypto++ tests.
Please disable optimization for crypto++ until the test are passed and recompile.

Could you explain better, please?
Which compilation option do I have to use for disabling optimization for crypto++?

Thanks in advance!
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: aMule cannot start - high CPU usage
« Reply #3 on: July 31, 2008, 10:48:41 AM »

Please add " -DCRYPTOPP_DISABLE_ASM" to the first line in GNUMakefile (CXXFLAGS=...), which should disable assembler optimization. Then recompile cryptopp and see if all test can be completed successfully then.
Logged

Catoblepa

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: aMule cannot start - high CPU usage
« Reply #4 on: July 31, 2008, 11:34:23 AM »

Now aMule perfectly works!  ;D
Thanks a lot!
Bye!
Logged