Skip to content

100% cpu #302

Description

@rampxxxx

Hi,
After some time after starting the service "systemctl restart amuled.service" the amuled start to consume 100% cpu.
After checking with strace I realize that there were some calls for the stat of this file "/home/user/.aMule/ED2KLinks", so I just "touch" it a it seems fixed

The trace:
"newfstatat(AT_FDCWD, "/home/user/aMule/ED2KLinks", 0x7ffde4ae2170, 0) = -1 ENOENT (No such file "

linux-1tva:/home/ramp/.aMule # strace -c -f -p 15403
strace: Process 15403 attached with 10 threads
% time seconds usecs/call calls errors syscall


40.98 4.148590 54586 76 36 futex
36.37 3.681768 409085 9 clock_nanosleep
20.39 2.064446 1 1546823 epoll_wait
2.25 0.227378 113689 2 1 restart_syscall
0.00 0.000285 8 35 write
0.00 0.000101 2 35 read
0.00 0.000080 8 9 9 newfstatat


100.00 10.122648 6 1546989 46 total

OpenSuse Tumbleweed
Information for package aMule:

Repository : packman
Name : aMule
Version : 2.3.3.20210426.6d4c03b00-1.19
Arch : x86_64
Vendor : http://packman.links2linux.de
Installed Size : 11.2 MiB
Installed : Yes
Status : up-to-date
Source package : aMule-2.3.3.20210426.6d4c03b00-1.19.src

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions