Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 181140
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo net-p2p team <net-p2p@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jörg Eitemüller <destotelhorus@googlemail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 181140 depends on: Show dependency tree
Bug 181140 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-06-06 22:14 0000
the method fast() in file /etc/init.d/mldonkey tries to set the HIGH_DOWN
before HIGH_UP, thus if you had very low values like 2/6 as LOW_DOWN/LOW_HIGH
respectively, HIGH_DOWN might be limited due to a low LOW_DOWN value as you
have an internal DOWN-limit with UP-limits lower than 10 kbyte/sec.

Suggestions for a fix:
Simply set new upload-limit before setting new download-limit (swapping the
wget --spider lines)

Reproducible: Always

Steps to Reproduce:
1. edit /etc/conf.d/mldonkey and set
LOW_DOWN="4",LOW_UP="2",HIGH_DOWN="100",HIGH_UP="10"
2. run /etc/init.d/mldonkey slow
3. run /etc/init.d/mldonkey fast

Actual Results:  
max_hard_download_rate inside mldonkey will be set to "6" (as 6 is the maximum
down-limit allowed for an up-limit of 2)

Expected Results:  
max_hard_download_rate inside mldonkey should be set at "100"

------- Comment #1 From Raúl Porcel 2007-06-08 11:17:45 0000 -------
Indeed, thanks for noticing that.

Fixed.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug