| View previous topic :: View next topic |
| Author |
Message |
dirtyboy neophyte
Joined: 15 Jan 2007 Posts: 8
|
Posted: Wed Jan 24, 2007 3:55 am Post subject: mldonkey responding slowly and using 100% process |
|
|
Just today when I tried to log on with the web interface it took forever for the page to log on. Even telnet localhost 4000 is slow in responding. It's also taking up 100% CPU process, this isn't so much a problem because it's a dual CPU machine but it's just annoying and I know it's not supposed to take up that much process.
For example, if I telnet in... then auth user password ... then ?? it'll hang about 10-20 seconds or so then display the output and that's quite irritating.
I checked in mlnet.log but I didn't find anything unusual, then again I wouldn't really know what is unusual. _________________ Slackware 11.0 Kernel 2.6.19.1
Dual CPU P3 1.4GHz Tualatin Core
Tyan Tiger 230T S2507T
1 GB SDRAM
mLdonkey 2.8.2 |
|
| Back to top |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
|
| Back to top |
|
 |
dirtyboy neophyte
Joined: 15 Jan 2007 Posts: 8
|
Posted: Fri Jan 26, 2007 4:59 am Post subject: |
|
|
OK cool... so I'll check that out. I don't have time tonight but thanks for the help  _________________ Slackware 11.0 Kernel 2.6.19.1
Dual CPU P3 1.4GHz Tualatin Core
Tyan Tiger 230T S2507T
1 GB SDRAM
mLdonkey 2.8.2 |
|
| Back to top |
|
 |
dirtyboy neophyte
Joined: 15 Jan 2007 Posts: 8
|
Posted: Sun Jan 28, 2007 3:11 am Post subject: |
|
|
ok... Recompiled with ./configure --disable-bittorrent and everything seems to be OK. Not the ideal solution as I would like to use the network but I don't really use it too much anyway.
update:
It's doing it again without bittorrent. Ugh!  _________________ Slackware 11.0 Kernel 2.6.19.1
Dual CPU P3 1.4GHz Tualatin Core
Tyan Tiger 230T S2507T
1 GB SDRAM
mLdonkey 2.8.2 |
|
| Back to top |
|
 |
xergius neophyte
Joined: 24 Sep 2006 Posts: 30
|
|
| Back to top |
|
 |
fabtar Sage

Joined: 04 Feb 2004 Posts: 1575 Location: Italy
|
Posted: Sun Jan 28, 2007 9:58 am Post subject: |
|
|
please..
recompile in this way to enable profiling:
http://mldonkey.sourceforge.net/ProfilingMldonkey
There is little guide there,
and then post the otuput to developers...
It seems the problem triggers himself in mysterious ways, I have tried with normal distros at the moment but I have a biger CPU usage but no-system-suicide.
This test could be useful. |
|
| Back to top |
|
 |
dirtyboy neophyte
Joined: 15 Jan 2007 Posts: 8
|
Posted: Mon Jan 29, 2007 1:38 am Post subject: |
|
|
Once I generate the output where do I send it to? _________________ Slackware 11.0 Kernel 2.6.19.1
Dual CPU P3 1.4GHz Tualatin Core
Tyan Tiger 230T S2507T
1 GB SDRAM
mLdonkey 2.8.2 |
|
| Back to top |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
|
| Back to top |
|
 |
dirtyboy neophyte
Joined: 15 Jan 2007 Posts: 8
|
Posted: Mon Jan 29, 2007 1:58 am Post subject: |
|
|
Just to make sure I did it correctly. You're suppose to set DEVFLAGSOPT=-S after ./configure and before make? And how long should I keep it running? _________________ Slackware 11.0 Kernel 2.6.19.1
Dual CPU P3 1.4GHz Tualatin Core
Tyan Tiger 230T S2507T
1 GB SDRAM
mLdonkey 2.8.2 |
|
| Back to top |
|
 |
fabtar Sage

Joined: 04 Feb 2004 Posts: 1575 Location: Italy
|
Posted: Mon Jan 29, 2007 1:09 pm Post subject: |
|
|
yes, I have understood in this way..
plus I have understood you can write all in a single line:
DEVFLAGSOPT=-S make
and simply push enter.
Here has worked.(but I could be wrong)
I suppose you can launch an \"evil BT/ed2k download\" and left the program run for a significant time (about half an hour,or one hour) in the problematic state. |
|
| Back to top |
|
 |
fabtar Sage

Joined: 04 Feb 2004 Posts: 1575 Location: Italy
|
Posted: Fri Feb 02, 2007 12:33 pm Post subject: |
|
|
@dirtyboy
P.s: Just for curiosity.
Can anyone(with the CPU/BT problem) here try to disable GeoIP database(remove the link from webinfos and delete the GeopIp file from .mldonkey directory ) and try again with BT... does this "Mambo Jambo" help reducing the load ?
@Spiralvoice
a friend of mine has reported that by analyzing mldonkey activity (using strace) he has noted that GeoIP database(Geoip.dat) file is read tons of times.
Perhaps this has caused the raising in "wa" (top) which I have noted in the past with top (raised disk activity).
He has pointed that in 6 minutes his core has read more than 100Megs form the GeopIP database file. (GeoIP file is something around 1Meg big).
IMHO
P.s:I think that an otption to fully cache in memory the GeoIP file or to Page the file in memory could be a good point to reduce disk activity.
/IMHO |
|
| Back to top |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
Posted: Sat Feb 03, 2007 10:34 pm Post subject: |
|
|
Afair geoip data is only used when data is displayed by some GUI.
Did your friend connect to MLDonkey using some GUI?
Does MLDonkey read from geoip.dat when no GUI is connected? _________________ Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks |
|
| Back to top |
|
 |
fabtar Sage

Joined: 04 Feb 2004 Posts: 1575 Location: Italy
|
Posted: Sat Feb 03, 2007 11:11 pm Post subject: |
|
|
Tomorrow I'll met my friend and I'll ask him about this detail.
P.s. I have reminds about him using the Sancho Gui (usually). |
|
| Back to top |
|
 |
atordo user
Joined: 02 Apr 2003 Posts: 237 Location: Spain
|
Posted: Sun Feb 04, 2007 10:06 pm Post subject: |
|
|
| spiralvoice wrote: | | Afair geoip data is only used when data is displayed by some GUI. |
Perhaps he's using ip_blocking_countries? |
|
| Back to top |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
Posted: Sun Feb 04, 2007 10:21 pm Post subject: |
|
|
| atordo wrote: | | spiralvoice wrote: | | Afair geoip data is only used when data is displayed by some GUI. |
Perhaps he's using ip_blocking_countries? |
Hm, this might indeed be true.
Since 2007/01/17 I am also using this option and I am seeing an
an increase in CPU usage since then. But I am not so sure about
whether this really increased CPU because on 2007/01/25 the
swarming_block_selection_algorithm = 3-patch was committed
which increased CPU as well on slower machine (here AMD K6 300).
This patch is now removed from CVS, which lowered CPU here.
Now I cleaned option ip_blocking_countries, tomorrow I will
check if this had an impact on the system. _________________ Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks |
|
| Back to top |
|
 |
|