Follow-up Comment #11, bug #12761 (project mldonkey):

Did some tests, I don�t think "file.file_swarmer <- None;" will
help, the problem seems to be in commonFile. All tests where
done with a patched core.


Start the core in an empty dir, add an ed2k-link

mem_stats 1
Module CommonFile
   files: 1
Module CommonSwarming2
   Swarmers: 1

cancel the download

mem_stats 1
Module CommonFile
   files: 1
Module CommonSwarming2
   Swarmers: 1

10 seconds later

mem_stats 1
Module CommonFile
   files: 1
Module CommonSwarming2
   Swarmers: 0

add three other files and cancel them immediatly afterwards

mem_stats 1
Module CommonFile
   files: 5
Module CommonSwarming2
   Swarmers: 0

The swarmers took about two minutes to be cleaned, one swarmer
was removed immediatly after canceling, the two others took
the two minutes you mentioned, so this has nothing to do with
save_options_delay, weird...

But nonetheless in commonFile the files are never removed...
Although after save in files.ini there are no entries left, so
"file.file_swarmer <- None;" helped a bit indeed. I attached the
patch for it here.
    _______________________________________________________

Additional Item Attachment:

File name: cancel.patch                   Size:0 KB

<http://savannah.nongnu.org/bugs/download.php?item_id=12761&item_file_id=2588>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=12761>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/



_______________________________________________
Mldonkey-bugs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/mldonkey-bugs

Reply via email to