Skip to content

Downloading multiple files causing 30+ minutes freezing/lag on a 200000+ shared files library #745

Description

@slrslr

aMule GIT compiled with wxGTK3 v3.2.4 and Boost 1.83 (Debugging) (Snapshot: rev. 2.3.3-437-g8203fc24b) (OS: Linux Ubuntu 24)

When i begin downloading number of files, like 5 files, then several seconds later, 10 files, 15 seconds later 10 files, the aMule enters in unusable state where it is freezing for couple of minute (1-3 min.) to possible react for a couple of seconds and then again frozen.

This possibly happens to a bad design of a library of mine shared files, it contains more than 200 000 files. We have been talking about this in a different issue where the window freezes also for around 1-3 min. during aMule start (to possibly load/list all shared files).

$ timeout 5s sudo strace -tt -o /tmp/live.txt -p $(pidof amule); tail -n 20 /tmp/live.txt

strace: Process 10219 attached
strace: Process 10219 detached
15:39:16.719062 futex(0x617fdeab2da0, FUTEX_WAIT_PRIVATE, 2, NULL <detached ...>

$ sudo gdb -p $(pidof amule) -batch -ex "set pagination off" -ex "thread apply all bt"
output is here

It is already around 30 minutes for which app continues freezing and is unusable and utilizing full 1 CPU thread (my computer has more threads free for the work and the computer is not overloaded, it rather looks like a bad design of aMule which i hope you can improve based on this report).

If you will need me to provide more details, please be descriptive on which exact commands to run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions