You are not logged in.

#1 2007-01-30 09:39:38

slux
Member
From: Rome
Registered: 2007-01-23
Posts: 23
Website

[resolved] aMule and 100% CPU activity

hi guys!

I've a problem with the last release of aMule (extra/amule 2.1.3-2). When it's in run, the CPU' activity is always to 100% sad

Some info:
- archlinux voodoo 2.6.19-ARCH
- extra/amule 2.1.3-2
- extra/wxgtk 2.6.3-2

All packages are updated! Please, help me! neutral

PS: my english is poor tongue

Last edited by slux (2007-02-01 11:54:49)


www.tremulous.it

Cogito, ergo Arch big_smile

Offline

#2 2007-01-30 09:53:11

Rubinas
Member
Registered: 2005-02-21
Posts: 36

Re: [resolved] aMule and 100% CPU activity

you wait enough time?
because amule take time, to rehash your shared and temp files, it's cpu tasks..

Offline

#3 2007-01-30 10:06:53

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: [resolved] aMule and 100% CPU activity

I recently noticed that aMule peaked its cpu usage quite often - unable to find a solution I have moved over to mldonkey.

Offline

#4 2007-01-30 10:15:41

slux
Member
From: Rome
Registered: 2007-01-23
Posts: 23
Website

Re: [resolved] aMule and 100% CPU activity

Rubinas wrote:

you wait enough time?
because amule take time, to rehash your shared and temp files, it's cpu tasks..

yes! The crazy CPU activity is present every 4-5 minutes! sad

Another applications like aMule?!


www.tremulous.it

Cogito, ergo Arch big_smile

Offline

#5 2007-01-30 11:04:28

wuischke
Member
From: Suisse Romande
Registered: 2007-01-06
Posts: 630

Re: [resolved] aMule and 100% CPU activity

Hi!

First try to rename your ~/.aMule directory to something like ~/.aMule-old and try again. If this works, copy your preferences.dat and  cryptkey.dat from the ~/.aMule-old directory to the new ~/.aMule dir in order to preserve your credits and set it up again.

If this does not work, could you please try to use aMule CVS? I've modified the original PKGBUILD to compile aMule CVS. (New CVS packages are uploaded about 6am UTC, this script will fail between midnight and shortly after 6am).

# aMule CVS PKGBUILD
# Modified by Johannes Krampf <wuischke@amule.org>
# Maintainer: damir <damir@archlinux.org>
# Contributor: Henrik Ronellenfitsch <searinox@web.de>

pkgname=amule-cvs
pkgver=$(date +%Y%m%d)
pkgrel=1
pkgdesc="aMule is a eMule-like client for ed2k p2p network"
arch=('i686' 'x86_64')
url="http://www.amule.org"
license=('GPL')
depends=('wxgtk>=2.6.3-2' 'perl' 'gd>=2.0.0' 'gcc' 'binutils>=2.17')
makedepends=('crypto++')
conflicts=('amule')
source=(http://amule.hirnriss.net/aMule-CVS-${pkgver}.tar.bz2)

build() {
  cd ${startdir}/src/amule-cvs
  ./configure --prefix=/usr \
              --disable-embedded_crypto \
              --enable-utf8-systray \
              --enable-cas \
              --enable-wxcas \
              --enable-amule-daemon \
              --enable-amulecmd \
              --enable-amule-gui \
              --enable-alc \    
              --enable-alcc \
          --enable-webserver
  make || return 1
  make DESTDIR=${startdir}/pkg install
}

If this does not work, build aMule against wxGTK 2.8.0. One way without changing anything else would be installing to /usr/local and using configure switches to specify the wx-config location and use LD_LIBRARY_PATH variable when starting aMule.

If it still doesn't work, please report in at http://forum.amule.org

Offline

#6 2007-01-30 11:43:34

slux
Member
From: Rome
Registered: 2007-01-23
Posts: 23
Website

Re: [resolved] aMule and 100% CPU activity

Ok, thaks!
I'll try these solutions later! wink

Last edited by slux (2007-01-30 11:44:24)


www.tremulous.it

Cogito, ergo Arch big_smile

Offline

#7 2007-01-30 23:00:11

slux
Member
From: Rome
Registered: 2007-01-23
Posts: 23
Website

Re: [resolved] aMule and 100% CPU activity

hmm nobody of these has worked.. so, i'll try the CVS (of today) for some period.. but i can see that the cpu activity is always high.. roll

Thanks all for the support!


www.tremulous.it

Cogito, ergo Arch big_smile

Offline

#8 2007-01-30 23:14:32

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: [resolved] aMule and 100% CPU activity

You might give xmule (no tray support in latest rc version) or mldonkey a try.

Offline

#9 2007-01-31 09:13:53

wuischke
Member
From: Suisse Romande
Registered: 2007-01-06
Posts: 630

Re: [resolved] aMule and 100% CPU activity

That's actually a good idea.

It would already help to see whether the problem is aMule related or wx/*someotherlibrary* related.


On Mac aMule does work bad with other applications which require lots of CPU time (never had similar problems on Linux myself), do you have a cron job which is executed every 4-5 minutes?

I would highly appreciate your help in tracking the problem down, please report back when you know more.

Offline

#10 2007-01-31 09:52:42

slux
Member
From: Rome
Registered: 2007-01-23
Posts: 23
Website

Re: [resolved] aMule and 100% CPU activity

The high CPU activity is present every 3-4 minutes, and persist for 30-40 seconds...

PS: my cron jobs are ok! smile

next, i report some infos:

This is the top..

top - 10:40:52 up 55 min,  1 user,  load average: 1.06, 0.44, 0.20
Tasks: 109 total,   3 running, 106 sleeping,   0 stopped,   0 zombie
Cpu(s): 43.5%us,  9.5%sy,  0.0%ni, 46.5%id,  0.0%wa,  0.0%hi,  0.5%si,  0.0%st
Mem:   1555580k total,   742596k used,   812984k free,      696k buffers
Swap:   979924k total,        0k used,   979924k free,   381440k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 4631 slux      25   0 75048  23m  17m R  100  1.6   1:20.27 amule
 3330 root      15   0  428m 113m 8624 S    6  7.5   1:47.26 X
 4109 slux      15   0 31196  15m  11m S    1  1.0   0:00.96 konsole
 3966 slux      15   0  182m 9.9m 3988 S    0  0.6   0:16.61 beryl
 4646 slux      15   0  2100 1048  796 R    0  0.1   0:00.25 top
.....

and the console output of the CVS version:

Initialising aMule
Checking if there is an instance already running...
No other instances are running.
Loading temp files from /home/slux/.aMule/Temp.
HTTP download thread started
Loading PartFile 4 of 4HTTP download thread ended

All PartFiles Loaded.
ListenSocket: Ok.

External connections disabled in config file
*** Server UDP socket (TCP+3) at 0.0.0.0:9803
*** TCP socket (TCP) listening on 0.0.0.0:9800
*** Client UDP socket (extended eMule) at 0.0.0.0:9800

PPS: i've try also without beryl.. the same result!

Last edited by slux (2007-01-31 09:55:35)


www.tremulous.it

Cogito, ergo Arch big_smile

Offline

#11 2007-01-31 16:53:35

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: [resolved] aMule and 100% CPU activity

You could try to determine if this behaviour is determined by the core or by the gui using the amule daemon (amuled) and seeing if the problem persists.


Mortuus in anima, curam gero cutis

Offline

#12 2007-02-01 11:54:11

slux
Member
From: Rome
Registered: 2007-01-23
Posts: 23
Website

Re: [resolved] aMule and 100% CPU activity

patroclo7 wrote:

You could try to determine if this behaviour is determined by the core or by the gui using the amule daemon (amuled) and seeing if the problem persists.

W00t! big_smile Amuled + amuleweb works fine! CPU is very very low!!

So, the problem is wxgtk hmm

Thanks to all for the support! wink


www.tremulous.it

Cogito, ergo Arch big_smile

Offline

#13 2007-02-01 13:23:03

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: [resolved] aMule and 100% CPU activity

Fine. You can have a further confirmation trying to use the remote gui for amuled; its name is amulegui. The problem should start just when you launch amulegui.


Mortuus in anima, curam gero cutis

Offline

Board footer

Powered by FluxBB