MLDonkey Forum Index
Homepage •  Bugs •  Tasks •  Patches •  SF.net Project Page •  ChangeLog •  German forum •  Links •  Wiki •  Downloads
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
mldonkey responding slowly and using 100% process
Goto page 1, 2, 3, 4  Next
 
Post new topic   Reply to topic    MLDonkey Forum Index -> Problems with MLDonkey Client (in general, and ed2k, kad, overnet)
View previous topic :: View next topic  
Author Message
dirtyboy
neophyte


Joined: 15 Jan 2007
Posts: 8

PostPosted: Wed Jan 24, 2007 3:55 am    Post subject: mldonkey responding slowly and using 100% process Reply with quote

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
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3982
Location: Germany

PostPosted: Wed Jan 24, 2007 10:14 am    Post subject: Reply with quote

Do you download from BT?
Maybe this helps: http://mldonkey.sourceforge.net/forums/viewtopic.php?t=4463
_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
dirtyboy
neophyte


Joined: 15 Jan 2007
Posts: 8

PostPosted: Fri Jan 26, 2007 4:59 am    Post subject: Reply with quote

OK cool... so I'll check that out. I don't have time tonight but thanks for the help Very Happy
_________________
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
View user's profile Send private message
dirtyboy
neophyte


Joined: 15 Jan 2007
Posts: 8

PostPosted: Sun Jan 28, 2007 3:11 am    Post subject: Reply with quote

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! Sad
_________________
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
View user's profile Send private message
xergius
neophyte


Joined: 24 Sep 2006
Posts: 30

PostPosted: Sun Jan 28, 2007 9:55 am    Post subject: Reply with quote

100% CPU usage after to remove a file of incoming. Related?

More info: http://mldonkey.sourceforge.net/forums/viewtopic.php?t=4604 (in spanish)
Back to top
View user's profile Send private message
fabtar
Sage


Joined: 04 Feb 2004
Posts: 1575
Location: Italy

PostPosted: Sun Jan 28, 2007 9:58 am    Post subject: Reply with quote

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
View user's profile Send private message
dirtyboy
neophyte


Joined: 15 Jan 2007
Posts: 8

PostPosted: Mon Jan 29, 2007 1:38 am    Post subject: Reply with quote

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
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3982
Location: Germany

PostPosted: Mon Jan 29, 2007 1:49 am    Post subject: Reply with quote

pastebin.be or similar services
Another idea is to open a bug report
http://savannah.nongnu.org/bugs/?group=mldonkey
and attach the log file there.
_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
dirtyboy
neophyte


Joined: 15 Jan 2007
Posts: 8

PostPosted: Mon Jan 29, 2007 1:58 am    Post subject: Reply with quote

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
View user's profile Send private message
fabtar
Sage


Joined: 04 Feb 2004
Posts: 1575
Location: Italy

PostPosted: Mon Jan 29, 2007 1:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
fabtar
Sage


Joined: 04 Feb 2004
Posts: 1575
Location: Italy

PostPosted: Fri Feb 02, 2007 12:33 pm    Post subject: Reply with quote

@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
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3982
Location: Germany

PostPosted: Sat Feb 03, 2007 10:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
fabtar
Sage


Joined: 04 Feb 2004
Posts: 1575
Location: Italy

PostPosted: Sat Feb 03, 2007 11:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
atordo
user


Joined: 02 Apr 2003
Posts: 237
Location: Spain

PostPosted: Sun Feb 04, 2007 10:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3982
Location: Germany

PostPosted: Sun Feb 04, 2007 10:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    MLDonkey Forum Index -> Problems with MLDonkey Client (in general, and ed2k, kad, overnet) All times are GMT
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Sourceforge.net Logo