patchmldonkey, a multi-networks file-sharing client - Patches: patch #5496, BT: Do not remove good clients...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #5496: BT: Do not remove good clients (experimental)

Submitted by:  spiralvoice <spiralvoice>
Submitted on:  Thu 26 Oct 2006 11:02:09 PM UTC  
 
Category:  Bug fixes Priority:  7 - High
Status:  Ready For Test Assigned to:  None
Open/Closed:  Open

( Jump to the original submission)

Sat 10 Apr 2010 09:39:47 PM UTC, comment #6:

Problem with memory usage - 4 days of uptime and RSS steadily grows, from 40M to 200M now.

ygrek <ygrek>
Project Member
Fri 09 Apr 2010 08:23:14 PM UTC, comment #5:

With this patch it becomes pretty obvious that some pagination is needed when listing clients in html ui (and probably some way to limit the output in telnet interface?). This is also an easy way to resolve bug #17712

ygrek <ygrek>
Project Member
Mon 05 Apr 2010 08:37:30 PM UTC, comment #4:

I didn't observe the error messages reported by bogeyman with this patch.
But got another message - exn Out_of_memory in disconnect_client. Solution - use List2.removeq instead of List2.remove, and probably List.remove should use compare instead of (=) ...

(file #20122)

ygrek <ygrek>
Project Member
Sun 04 Apr 2010 10:24:47 PM UTC, comment #3:

Refreshed for current CVS.

(file #20117)

ygrek <ygrek>
Project Member
Fri 17 Nov 2006 03:42:10 PM UTC, comment #2:

will try this:
- remove_client c;
+ current_uploaders := List2.remove c !current_uploaders;
+ c.client_received_peer_id <- false;

Another issue: I got ~25000 CommonClients but only 100 DonkeyClients, long after my bt download finished and i dont upload anymore to bt clients.

bogeyman <bogeyman>
Project Member
Fri 17 Nov 2006 03:29:24 PM UTC, comment #1:

I got a lot of "BT: Unknown message" & "btprotocol.bt_handler: closed connection" and the dumps indicate that they send their ID but c.client_received_peer_id is set. have it to be set to false at some point, where we dont remove the peer?!

Cannot test it and hope this helps

bogeyman <bogeyman>
Project Member
Thu 26 Oct 2006 11:02:09 PM UTC, original submission:

Please test this experimental patch.
Its aim is to solve the problem that BT clients disappear too quickly.
Some debug code is still present, please ignore its output in logfile.

spiralvoice <spiralvoice>
Project Administrator

 

Attached Files
file #20122:  good_clients2.diff added by ygrek (12KiB - text/x-diff)
file #20117:  good_clients.diff added by ygrek (12KiB - text/x-diff)
file #12227:  5496.patch added by spiralvoice (13KiB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ygrek (Updated the item)
  • -email is unavailable- added by spiralvoice (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    Thu 08 Apr 2010 07:13:43 PM UTC spiralvoice Priority5 - Normal => 7 - High
        StatusPostponed => Ready For Test
    Mon 05 Apr 2010 08:37:30 PM UTC ygrek Attached File- => Added good_clients2.diff, #20122
    Sun 04 Apr 2010 10:24:47 PM UTC ygrek Attached File- => Added good_clients.diff, #20117
    Wed 21 Mar 2007 07:56:41 PM UTC spiralvoice Attached File- => Added 5496.patch, #12227
    Wed 21 Mar 2007 07:52:20 PM UTC spiralvoice Attached File#11094 => Removed
    Wed 29 Nov 2006 12:11:01 AM UTC spiralvoice StatusIn Progress => Postponed
    Fri 27 Oct 2006 11:16:59 PM UTC spiralvoice Attached File- => Added bt.patch, #11094
    Fri 27 Oct 2006 11:16:52 PM UTC spiralvoice Attached File#11084 => Removed
    Thu 26 Oct 2006 11:02:09 PM UTC spiralvoice Attached File- => Added bt.patch, #11084

    Back to the top


    Powered by Savane 3.3