aMule Bug Tracker - aMule
View Issue Details
0000606aMuleMiscpublic2005-10-21 00:582005-11-15 11:50
spiorf 
Xaignar 
normalblockhave not tried
resolvedfixed 
SVN 
SVN 
0000606: 20051020 100% cpu usage after raising upload limit
amule goes 100% cpu usage when raising too much upload limit.
here is the backtrace after killing amule
http://forum.amule.org/thread.php?threadid=7772&sid= [^]
No tags attached.
jpg Schermata.jpg (243,918) 2005-11-15 00:48
https://bugs.amule.org/file_download.php?file_id=92&type=bug
jpg

patch ubt.patch (1,741) 2005-11-15 02:39
https://bugs.amule.org/file_download.php?file_id=93&type=bug
Issue History
2005-10-21 00:58spiorfNew Issue
2005-10-21 01:29spiorfNote Added: 0001329
2005-10-23 23:41spiorfNote Added: 0001343
2005-10-26 12:52KryStatusnew => assigned
2005-10-26 12:52KryAssigned To => Xaignar
2005-10-26 12:52KryNote Added: 0001364
2005-10-30 17:04XaignarNote Added: 0001381
2005-11-01 05:22spiorfNote Added: 0001387
2005-11-01 05:22spiorfNote Edited: 0001387
2005-11-01 19:27XaignarNote Added: 0001389
2005-11-02 18:33spiorfNote Added: 0001395
2005-11-15 00:48spiorfFile Added: Schermata.jpg
2005-11-15 02:39XaignarFile Added: ubt.patch
2005-11-15 02:39XaignarNote Added: 0001459
2005-11-15 09:15spiorfNote Added: 0001460
2005-11-15 11:50XaignarStatusassigned => resolved
2005-11-15 11:50XaignarFixed in Version => CVS
2005-11-15 11:50XaignarResolutionopen => fixed
2005-11-15 11:50XaignarNote Added: 0001463

Notes
(0001329)
spiorf   
2005-10-21 01:29   
compiled with $CFLAGS = -march=pentium4 -pipe -fomit-frame-pointer -O3
and CXXFLAGS the same, i'll recompile without these flags and let you know what happens
(0001343)
spiorf   
2005-10-23 23:41   
same problem withouth cflags set
(0001364)
Kry   
2005-10-26 12:52   
something tells me this is for Xaignar... (banned clients iterator list).
(0001381)
Xaignar   
2005-10-30 17:04   
What do you mean by 'raising too much upload limit'?
Did you raise the upload limit to a very high value or?
(0001387)
spiorf   
2005-11-01 05:22   
I mean raising the upload limit to about 80/100 kbps

modificata il: 11-01-05 05:22
(0001389)
Xaignar   
2005-11-01 19:27   
Is this something you can reproduce? Cause I am unable to trigger it here.
(0001395)
spiorf   
2005-11-02 18:33   
Yes, i can reproduce.
I just switched to wx-cvs, and nothing changed.
you can find me on #amule most of the time, if you need more info.
(0001459)
Xaignar   
2005-11-15 02:39   
I've attached a possible workaround for the issue. Please let me know if it has any effect.

Cheers,
 Xaignar
(0001460)
spiorf   
2005-11-15 09:15   
That patch works!
now the cpu usage when raising the upload limit is near 0.
(0001463)
Xaignar   
2005-11-15 11:50   
Fix committed. ;)